From 20d9b64e16913fd19407426484c7d97c5c386e94 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 24 Nov 2011 18:48:01 +0000 Subject: [PATCH] Fixed allow-nether being ignored By: Nathan Adams --- .../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 c6bb18bd1b..04b69b4487 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 @@ -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; }