#773: Add method to get max world size

By: pop4959 <pop4959@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2020-12-13 11:30:54 +11:00
parent 6cfa45934b
commit 04b08cc9de

View File

@ -615,6 +615,11 @@ public final class CraftServer implements Server {
return this.getProperties().generatorSettings.shouldGenerateMapFeatures();
}
@Override
public int getMaxWorldSize() {
return this.getProperties().maxWorldSize;
}
@Override
public boolean getAllowEnd() {
return this.configuration.getBoolean("settings.allow-end");