mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 14:08:57 +01:00
Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
a7c822dfbb
commit
76862f4b1f
1 changed files with 5 additions and 1 deletions
|
@ -796,7 +796,11 @@ public class CraftWorld implements World {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getMaxHeight() {
|
public int getMaxHeight() {
|
||||||
return 128;
|
return world.height;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getSeaLevel() {
|
||||||
|
return world.seaLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getKeepSpawnInMemory() {
|
public boolean getKeepSpawnInMemory() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue