#773: Add method to get max world size

This commit is contained in:
pop4959 2020-12-13 11:30:54 +11:00 committed by md_5
parent 5b747147e7
commit 768d7fc2df
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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");