Browse files

Fix generation of Nether and End

  • Loading branch information...
1 parent ca6bbd1 commit a8b426ac791267e92686814251b5d7f5f4ddc3a4 @SpaceManiac SpaceManiac committed Dec 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/net/glowstone/GlowServer.java
View
4 src/main/java/net/glowstone/GlowServer.java
@@ -450,10 +450,10 @@ public void start() {
String world = config.getString("server.world-name", "world");
createWorld(WorldCreator.name(world).environment(Environment.NORMAL));
if (getAllowNether()) {
- createWorld(WorldCreator.name(world).environment(Environment.NETHER));
+ createWorld(WorldCreator.name(world + "_nether").environment(Environment.NETHER));
}
if (getAllowEnd()) {
- createWorld(WorldCreator.name(world).environment(Environment.THE_END));
+ createWorld(WorldCreator.name(world + "_the_end").environment(Environment.THE_END));
}
// Finish loading plugins

0 comments on commit a8b426a

Please sign in to comment.