Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-09-25 01:05:55 +01:00
parent a7c822dfbb
commit 76862f4b1f

View file

@ -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() {