Added center to configuration with default 0,64,0 like before.
This commit is contained in:
parent
3fd511a8d1
commit
1622bb4408
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue