mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
#773: Add method to get max world size
This commit is contained in:
parent
5b747147e7
commit
768d7fc2df
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue