SPIGOT-7970: World#getMaxHeight() returning incorrect value

This commit is contained in:
md_5 2024-11-30 15:12:42 +11:00
parent 2b9a094bb6
commit b75b792ec3
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -1296,7 +1296,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
@Override @Override
public int getMaxHeight() { public int getMaxHeight() {
return world.getMaxY(); return world.getMaxY() + 1;
} }
@Override @Override