diff options
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index fc88acb6..f7ec1994 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -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() { |