mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-31 14:17:28 +01:00
fix teleport to draenei/blood elves areas with flying aura
This commit is contained in:
@@ -263,6 +263,10 @@ void WorldSession::HandleMoveTeleportAck(WorldPacket& recvPacket)
|
||||
// in friendly area
|
||||
else if (plMover->IsPvP() && !plMover->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP))
|
||||
plMover->UpdatePvP(false, false);
|
||||
|
||||
// can fly check
|
||||
if (!plMover->CanFlyInZone(plMover->GetMapId(), newzone))
|
||||
plMover->RemoveAurasByType(SPELL_AURA_FLY);
|
||||
}
|
||||
|
||||
// resummon pet
|
||||
|
||||
Reference in New Issue
Block a user