diff --git a/Essentials/src/com/earth2me/essentials/commands/Commanddepth.java b/Essentials/src/com/earth2me/essentials/commands/Commanddepth.java index 34aa53526..84de07e10 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commanddepth.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commanddepth.java @@ -13,7 +13,7 @@ public class Commanddepth extends EssentialsCommand { @Override public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { - final int depth = user.getLocation().getBlockY() - 63; + final int depth = user.getLocation().getBlockY() - user.getWorld().getSeaLevel(); if (depth > 0) { user.sendMessage(tl("depthAboveSea", depth)); } else if (depth < 0) {