From 270310a3a54f3354369a102c0305f9a3f352a9a7 Mon Sep 17 00:00:00 2001 From: alron Date: Wed, 6 Apr 2011 02:29:14 -0700 Subject: [PATCH] Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting. --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 02b2fdcb1e..276939ca3d 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -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);