mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-21 07:41:30 +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
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user