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

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2024-11-30 15:12:42 +11:00
parent 7d62830284
commit 9850cb85dd

View File

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