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:
1 parent
3d3a8107e0
commit
9bc339cd89
1 file changed
+1
-1
@@ -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