Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
This commit is contained in:
parent
1fbd439dc5
commit
fad2656c63
@ -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…
x
Reference in New Issue
Block a user