Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix generation of Nether and End

  • Loading branch information...
commit a8b426ac791267e92686814251b5d7f5f4ddc3a4 1 parent ca6bbd1
@SpaceManiac SpaceManiac authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.