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:
alron 2011-04-06 02:29:14 -07:00 committed by EvilSeph
parent 13218f55e4
commit 270310a3a5

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);