Core/Players: Fixed objects not being visible after seamless teleports

Port From (https://github.com/TrinityCore/TrinityCore/commit/390f0be9fb22766638006f43e4d0887108ba49e8)
This commit is contained in:
hondacrx
2024-02-05 13:46:54 -05:00
parent 3ac50cb7f4
commit 301d3fb00d
+3 -3
View File
@@ -753,9 +753,6 @@ namespace Game.Entities
GetName(), viewpoint.GetEntry(), viewpoint.GetTypeId());
SetViewpoint(viewpoint, false);
}
RemovePlayerLocalFlag(PlayerLocalFlags.OverrideTransportServerTime);
SetTransportServerTime(0);
}
void ScheduleDelayedOperation(PlayerDelayedOperations operation)
@@ -2178,6 +2175,9 @@ namespace Game.Entities
}
SendPacket(transferPending);
RemovePlayerLocalFlag(PlayerLocalFlags.OverrideTransportServerTime);
SetTransportServerTime(0);
}
// remove from old map now