Update PlayerMethods.h - remove unused variable to fix core build (#255)

This commit is contained in:
sudlud
2025-02-08 07:04:58 +01:00
committed by GitHub
parent d869057fe4
commit ccfcc5f86f

View File

@@ -4025,8 +4025,6 @@ namespace LuaPlayer
std::string tele = Eluna::CHECKVAL<std::string>(L, 2);
const GameTele* game_tele = sObjectMgr->GetGameTele(tele);
MapEntry const* map = sMapStore.LookupEntry(game_tele->mapId);
if (player->IsInFlight())
{
player->GetMotionMaster()->MovementExpired();