Originally Posted by Rhyono
You'll have to remove the LibStub dependency from there too.
|
in the library, i changed manifest like in step 1)
also this
Code:
local MAJOR, MINOR = "LibEventHandler-1.1", 1.0
local LEH, LEHminor = LibStub:NewLibrary(MAJOR, MINOR)
if not LEH then return end
to this
Code:
local MAJOR, MINOR = "LibEventHandler", 1.1
local LEH, LEHminor = LibStub:NewLibrary(MAJOR, MINOR)
if not LEH then return end
LibEventHandler = LEH, LEHminor
now i am getting another error
Code:
user:/AddOns/InventoryAssistant/InventoryAssistant.lua:654: attempt to index a nil value
stack traceback:
user:/AddOns/InventoryAssistant/InventoryAssistant.lua:654: in function 'IA_InventoryAssistant:InitializeSettingsMenu'
|caaaaaa<Locals> self = [table:1]{showFCOISGearSetMarkers = T, showEnchants = T, onlyMarkedItems = F, showBound = T, showItemLevels = T, onlyNonCP160 = F, onlyDuplicates = F, onlyCP160 = F, showNonSetItems = T, onlyLoots = F, showMonsterSets = T, showCrafted = T, groupLoots = T, showBuyable = T, showFCOISDynamicMarkers = T} </Locals>|r
user:/AddOns/InventoryAssistant/InventoryAssistant.lua:502: in function 'eventToFunctionTable'
|caaaaaa<Locals> event = 65536, addonName = "InventoryAssistant" </Locals>|r
user:/AddOns/InventoryAssistant/libs/LibEventHandler/LibEventHandler.lua:15: in function 'CallEventFunctions'
|caaaaaa<Locals> eventCode = 65536, numOfFuncs = 1, i = 1 </Locals>|r