mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-7970: World#getMaxHeight() returning incorrect value
This commit is contained in:
parent
2b9a094bb6
commit
b75b792ec3
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
|
|||
|
||||
@Override
|
||||
public int getMaxHeight() {
|
||||
return world.getMaxY();
|
||||
return world.getMaxY() + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue