Why is this an issue in the latest TFS 1.3? but not in my older repo.
Getting these errors:
and...
Code:
local backpack = self:getSlotItem(CONST_SLOT_STORE_INBOX)
local expBoostCharm = backpack:getItemById(11401)
Getting these errors:
Code:
Lua Script Error: [Event Interface]
data/events/scripts/player.lua:Player@onGainSkillTries
data/events/scripts/player.lua:472: attempt to call method 'getItemsById' (a nil value)
stack traceback:
[C]: in function 'getItemsById'
data/events/scripts/player.lua:472: in function <data/events/scripts/player.lua:470>
Code:
Lua Script Error: [Event Interface]
data/events/scripts/player.lua:Player@onGainSkillTries
data/events/scripts/player.lua:472: attempt to index local 'backpack' (a nil value)
stack traceback:
[C]: in function '__index'
data/events/scripts/player.lua:472: in function <data/events/scripts/player.lua:470>