diff --git a/configuration.txt b/configuration.txt index e3a12230..64f8cf44 100644 --- a/configuration.txt +++ b/configuration.txt @@ -116,6 +116,10 @@ defaultworld: world worlds: - name: world title: "World" + center: + x: 0 + y: 64 + z: 0 maps: - class: org.dynmap.flat.FlatMap name: flat @@ -147,6 +151,10 @@ worlds: maximumheight: 127 - name: nether title: "Nether" + center: + x: 0 + y: 64 + z: 0 maps: - class: org.dynmap.flat.FlatMap name: flat diff --git a/src/main/java/org/dynmap/ClientConfigurationComponent.java b/src/main/java/org/dynmap/ClientConfigurationComponent.java index d8ff6ed0..f5ae1361 100644 --- a/src/main/java/org/dynmap/ClientConfigurationComponent.java +++ b/src/main/java/org/dynmap/ClientConfigurationComponent.java @@ -26,7 +26,7 @@ public class ClientConfigurationComponent extends Component { s(wo, "name", wn.getString("name")); s(wo, "title", wn.getString("title")); s(wo, "center/x", wn.getFloat("center/x", 0.0f)); - s(wo, "center/y", wn.getFloat("center/y", 0.0f)); + s(wo, "center/y", wn.getFloat("center/y", 64.0f)); s(wo, "center/z", wn.getFloat("center/z", 0.0f)); a(t, "worlds", wo);