SPIGOT-6357: Add World#getMinHeight

This commit is contained in:
md_5 2021-03-28 19:31:50 +11:00
parent 7eb35643e2
commit e9ad7cba9b
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -1856,6 +1856,11 @@ public class CraftWorld implements World {
return world.getChunkProvider().allowMonsters; return world.getChunkProvider().allowMonsters;
} }
@Override
public int getMinHeight() {
return 0;
}
@Override @Override
public int getMaxHeight() { public int getMaxHeight() {
return world.getBuildHeight(); return world.getBuildHeight();