#773: Add method to get max world size
This commit is contained in:
parent
5b747147e7
commit
768d7fc2df
@ -615,6 +615,11 @@ public final class CraftServer implements Server {
|
|||||||
return this.getProperties().generatorSettings.shouldGenerateMapFeatures();
|
return this.getProperties().generatorSettings.shouldGenerateMapFeatures();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMaxWorldSize() {
|
||||||
|
return this.getProperties().maxWorldSize;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getAllowEnd() {
|
public boolean getAllowEnd() {
|
||||||
return this.configuration.getBoolean("settings.allow-end");
|
return this.configuration.getBoolean("settings.allow-end");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user