mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +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
|
||||
public int getMaxHeight() {
|
||||
return world.getMaxY();
|
||||
return world.getMaxY() + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user