From c6beae8872f0b4729e4dc7354be2345cede8fca0 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 24 Nov 2011 18:48:01 +0000 Subject: Fixed allow-nether being ignored --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index c6bb18bd..04b69b44 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -324,7 +324,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { if (fromWorld == toWorld) { entity.netServerHandler.teleport(to); } else { - server.getHandle().moveToWorld(entity, toWorld.dimension, to); + server.getHandle().moveToWorld(entity, toWorld.dimension, true, to); } return true; } -- cgit v1.2.3