mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/Movement: MSG_MOVE_TELEPORT is not supposed to be sent to the player being teleported.
Thanks @vlad852 Closes #8798 Closes #8774
This commit is contained in:
@@ -17344,7 +17344,7 @@ void Unit::SendTeleportPacket(Position& pos)
|
||||
Relocate(&oldPos);
|
||||
if (GetTypeId() == TYPEID_PLAYER)
|
||||
Relocate(&pos);
|
||||
SendMessageToSet(&data2, true);
|
||||
SendMessageToSet(&data2, false);
|
||||
}
|
||||
|
||||
bool Unit::UpdatePosition(float x, float y, float z, float orientation, bool teleport)
|
||||
|
||||
Reference in New Issue
Block a user