From 991afe708a847ba58cb29cc7cafb168316093d9b Mon Sep 17 00:00:00 2001 From: gasaichandesu Date: Sat, 22 Aug 2026 20:41:03 +0400 Subject: [PATCH] fix(premium): return true from OnBeforeTeleport by default --- 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 67a56a50e..656dc9a32 100644 --- a/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp +++ b/modules/mod-eluna/src/LuaEngine/hooks/PlayerHooks.cpp @@ -840,5 +840,5 @@ bool Eluna::OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float Push(options); Push(target); - return CallAllFunctionsBool(PlayerEventBindings, key); + return CallAllFunctionsBool(PlayerEventBindings, key, true); }