Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.

By: alron <alron@bloodmagic.com>
This commit is contained in:
CraftBukkit/Spigot 2011-04-06 02:29:14 -07:00
parent 67a1520bb5
commit 498de23ae2

View file

@ -166,7 +166,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
newEntity.locZ = location.getZ();
newEntity.displayName = entity.displayName;
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);