Fix balance of CraftBukkit start/end.

This commit is contained in:
Erik Broes
2012-01-12 19:43:34 +01:00
parent 897551e39e
commit 7d0e739f96
9 changed files with 11 additions and 13 deletions

View File

@@ -206,7 +206,6 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
j = WorldSettings.a(j);
log.info("Default game type: " + j);
// CraftBukkit start (+ removed worldsettings and servernbtmanager)
int worldCount = 3;
@@ -223,13 +222,12 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
}
if (k == 2) {
// CraftBukkit start (+ don't do this in server.properties, do it in bukkit.yml)
// CraftBukkit - (+ don't do this in server.properties, do it in bukkit.yml)
if (this.server.getAllowEnd()) {
dimension = 1;
} else {
continue;
}
// CraftBukkit end
}
String worldType = Environment.getEnvironment(dimension).toString().toLowerCase();