From deff67efebbb188470bdfc730a7548aaa4533c27 Mon Sep 17 00:00:00 2001 From: gasaichandesu Date: Sat, 22 Aug 2026 19:45:35 +0400 Subject: [PATCH] fix(premium): fix OnBeforeTeleport compilation errors --- modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp b/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp index 684fbd4d8..67a56a50e 100644 --- a/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp +++ b/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp @@ -829,7 +829,7 @@ void Eluna::OnPlayerDamage(Player* player, Unit* target, uint32& damage) bool Eluna::OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target) { - START_HOOK(PLAYER_EVENT_ON_BEFORE_TELEPORT); + START_HOOK_WITH_RETVAL(PLAYER_EVENT_ON_BEFORE_TELEPORT, true); Push(player); Push(mapid);