mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 19:28:03 +01:00
SPIGOT-7970: World#getMaxHeight() returning incorrect value
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7d62830284
commit
9850cb85dd
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