View Single Post
04/30/20, 05:03 AM   #12
EscherechiaColi
Join Date: Apr 2020
Posts: 9
Well... I did both the changes that you said could help, and here is what I got
Code:
user:/AddOns/RemiCustomAddon/RemiCustomAddon.lua:39: attempt to index a nil value
|rstack traceback:
user:/AddOns/RemiCustomAddon/RemiCustomAddon.lua:39: in function 'RemiCustomAddon.DoesBagHaveSpace'
|caaaaaa<Locals> eventCode = 589824, initial = F </Locals>|r
which is the line in the EVENT_PLAYER_ACTIVATED callback refering to the self:RestorePositionBagSpace() call. However, the message seems to appear properly now that I changed the condition to > 10 in OnInitialize in my .xml file. Will check if it works properly with the initial condition of under 10.
  Reply With Quote