From 38c2103ff42b2dd456a448dfe37f9cc3e28c752f Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Mon, 28 Feb 2011 13:21:50 +0000 Subject: [PATCH] Spiral teleporting! Wheeeee! --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index c8da306910..3c5a120203 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -170,7 +170,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player { entity.a.e = newEntity; entity = newEntity; } else { + oldWorld.manager.b(entity); entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); + newWorld.manager.a(entity); } }