mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
immediately move the player to TP pos if ignoring positions
This commit is contained in:
parent
5ea3e77b56
commit
066016fe9e
@ -135,8 +135,8 @@ namespace MCGalaxy
|
||||
if (!Session.SendTeleport(Entities.SelfID, pos, rot, Packet.TeleportMoveMode.AbsoluteInstant)) {
|
||||
Session.SendTeleport(Entities.SelfID, pos, rot);
|
||||
}
|
||||
// when frozen, position updates from the client are ignored
|
||||
if (frozen) Pos = pos;
|
||||
// Forcibly move the player since their position won't naturally update
|
||||
if (frozen || IgnorePosition) Pos = pos;
|
||||
}
|
||||
|
||||
public void SendBlockchange(ushort x, ushort y, ushort z, BlockID block) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user