summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authoralron <alron@bloodmagic.com>2011-04-06 02:29:14 -0700
committerEvilSeph <evilseph@unaligned.org>2011-04-07 01:56:39 -0400
commit270310a3a54f3354369a102c0305f9a3f352a9a7 (patch)
tree82d20e8ea68162f2fe8e2b8f4e45734476f0cad1 /src/main/java/org
parent13218f55e4e4c1815a2d46c497497edf116a4661 (diff)
downloadcraftbukkit-270310a3a54f3354369a102c0305f9a3f352a9a7.tar
craftbukkit-270310a3a54f3354369a102c0305f9a3f352a9a7.tar.gz
craftbukkit-270310a3a54f3354369a102c0305f9a3f352a9a7.tar.lz
craftbukkit-270310a3a54f3354369a102c0305f9a3f352a9a7.tar.xz
craftbukkit-270310a3a54f3354369a102c0305f9a3f352a9a7.zip
Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
index 02b2fdcb..276939ca 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);