Replace string
This commit is contained in:
parent
458b011c2b
commit
c3c0a92463
2
core.lua
2
core.lua
|
@ -100,7 +100,7 @@ local function OnEvent(lib, self, event, ...)
|
|||
end
|
||||
end
|
||||
function child.events:PLAYER_ENTERING_WORLD(event)
|
||||
child:UnregisterEvent('PLAYER_ENTERING_WORLD')
|
||||
child:UnregisterEvent(event)
|
||||
local list = {}
|
||||
for event,func in pairs(events) do
|
||||
if(child:IsClassic() or (not child:IsClassic() and not skipRetail[event])) then
|
||||
|
|
Loading…
Reference in New Issue