From ebc478388cdde64dd5a4697f0ef8d7e36e1ec61c Mon Sep 17 00:00:00 2001 From: Tahg Date: Wed, 1 Jun 2011 18:35:57 -0400 Subject: [PATCH] fixed cross world teleport --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 30f1b6079b..eded0b3130 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -173,10 +173,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player { if (oldWorld != newWorld) { this.entity = manager.a(entity, newWorld.dimension, false); - return true; - } else { - return entity.netServerHandler.teleport(location); } + return entity.netServerHandler.teleport(location); } public void setSneaking(boolean sneak) {