From 498de23ae22feb8aa60bf9d04aa7e8aff1782afd Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot 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. By: alron --- .../main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 02b2fdcb1e..276939ca3d 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/paper-server/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);