Fixed allow-nether being ignored

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-11-24 18:48:01 +00:00
parent 0f394bd1f6
commit 20d9b64e16

View File

@ -324,7 +324,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
if (fromWorld == toWorld) { if (fromWorld == toWorld) {
entity.netServerHandler.teleport(to); entity.netServerHandler.teleport(to);
} else { } else {
server.getHandle().moveToWorld(entity, toWorld.dimension, to); server.getHandle().moveToWorld(entity, toWorld.dimension, true, to);
} }
return true; return true;
} }