From 6333307ee3428d6bc134f2fb33022a83af1b7939 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot 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 By: Ryan Michela --- .../src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index de65b3415..fa7e8c7b5 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/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() {