mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 04:02:06 -07:00
SPIGOT-7970: World#getMaxHeight() returning incorrect value
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1296,7 +1296,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
|
||||
|
||||
@Override
|
||||
public int getMaxHeight() {
|
||||
return world.getMaxY();
|
||||
return world.getMaxY() + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user