diff --git a/core.lua b/core.lua index bebf114..1224841 100755 --- a/core.lua +++ b/core.lua @@ -99,11 +99,11 @@ local function OnEvent(lib, self, event, ...) print("[itemsdb] Failed", ...) end end -function child.events:PLAYER_ENTERING_WORLD(event) +function child.events:PLAYER_ENTERING_WORLD(lib, event) child:UnregisterEvent(event) local list = {} for event,func in pairs(events) do - if(child:IsClassic() or (not child:IsClassic() and not skipRetail[event])) then + if(not skipRetail[event]) then list[#list+1] = event end end