summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2011-11-24 18:48:01 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2011-11-24 18:48:01 +0000
commitc6beae8872f0b4729e4dc7354be2345cede8fca0 (patch)
tree6583d510fa1f7540099b03059f2dd31e7730ca19 /src/main/java/org
parentde7402ea8e5f55c14f012c63ae80b09f464df78d (diff)
downloadcraftbukkit-c6beae8872f0b4729e4dc7354be2345cede8fca0.tar
craftbukkit-c6beae8872f0b4729e4dc7354be2345cede8fca0.tar.gz
craftbukkit-c6beae8872f0b4729e4dc7354be2345cede8fca0.tar.lz
craftbukkit-c6beae8872f0b4729e4dc7354be2345cede8fca0.tar.xz
craftbukkit-c6beae8872f0b4729e4dc7354be2345cede8fca0.zip
Fixed allow-nether being ignored
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java2
1 files changed, 1 insertions, 1 deletions
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;
}