mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.
This commit is contained in:
parent
13218f55e4
commit
270310a3a5
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
newEntity.locZ = location.getZ();
|
newEntity.locZ = location.getZ();
|
||||||
newEntity.displayName = entity.displayName;
|
newEntity.displayName = entity.displayName;
|
||||||
newEntity.compassTarget = entity.compassTarget;
|
newEntity.compassTarget = entity.compassTarget;
|
||||||
newWorld.u.d((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
newWorld.u.c((int) location.getBlockX() >> 4, (int) location.getBlockZ() >> 4);
|
||||||
|
|
||||||
teleportSuccess = newEntity.a.teleport(location);
|
teleportSuccess = newEntity.a.teleport(location);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue