diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 81398a6c58..51a8b76385 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -308,7 +308,7 @@ public class ServerConfigurationManager { int dimension = i; WorldServer fromWorld = this.server.getWorldServer(entityplayer.dimension); WorldServer toWorld = null; - if (dimension < 10) { + if (entityplayer.dimension < 10) { for (WorldServer world : this.server.worlds) { if (world.dimension == dimension) { toWorld = world;