fix(premium): fix OnBeforeTeleport arguments number
This commit is contained in:
@@ -186,7 +186,7 @@ local function OnLogout(event, player)
|
||||
squires_table[player:GetGUID()] = nil
|
||||
end
|
||||
|
||||
local function OnBeforeTeleport(player, mapid, x, y, z, orientation, options, target)
|
||||
local function OnBeforeTeleport(event, player, mapid, x, y, z, orientation, options, target)
|
||||
if not IsPremium(player) then return end
|
||||
|
||||
if player:FindCurrentSpellBySpellId(HEARTHSTONE_SPELL_ID) then
|
||||
|
||||
Reference in New Issue
Block a user