From 1c7dfaebefc3b2b08ffd69135e7b3d2951d7bc75 Mon Sep 17 00:00:00 2001 From: Ryan Michela Date: Sun, 25 Dec 2016 11:26:00 -0500 Subject: [PATCH] SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index de65b3415b..fa7e8c7b59 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1226,7 +1226,7 @@ public class CraftWorld implements World { } public int getSeaLevel() { - return 64; + return world.K(); // PAIL: rename } public boolean getKeepSpawnInMemory() {