PetTracker

PetTracker

13M Downloads

Different small bugs

MrPollux opened this issue ยท 0 comments

commented

Version: 8.3.6

file battle.lua, line 128,
Addon.state.Turn -> Addon.state.turn

file record.lua, line 74,
floor(date / 31 / 12) + 2014 -> floor(tonumber(date, 16) / 31 / 12) + 2014
-- cause: In my case year 2020 was 2016

file specie.lua, line 26,
self:GetBestOwned():GetID() -> self:GetBestOwned() and self:GetBestOwned():GetID()
-- cause: In some cases GetBestOwned returns nil

Regards