mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
This commit is contained in:
1 parent
1fbd439dc5
commit
fad2656c63
1 file changed
+5
-1
@@ -796,7 +796,11 @@ public class CraftWorld implements World {
|
||||
}
|
||||
|
||||
public int getMaxHeight() {
|
||||
return 128;
|
||||
return world.height;
|
||||
}
|
||||
|
||||
public int getSeaLevel() {
|
||||
return world.seaLevel;
|
||||
}
|
||||
|
||||
public boolean getKeepSpawnInMemory() {
|
||||
|
||||
Reference in new issue
Block a user