summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-07-17 21:05:13 +0100
committerKHobbits <rob@khobbits.co.uk>2012-07-17 21:05:13 +0100
commit41235b6ee1224dcf88093d29bd2797193c217bfa (patch)
treed523e7a1c11fc7532caf9300d555f5a6de9c1aa8
parent141a2bb1908383657dbb405324a10bd9dc9473e1 (diff)
downloadEssentials-41235b6ee1224dcf88093d29bd2797193c217bfa.tar
Essentials-41235b6ee1224dcf88093d29bd2797193c217bfa.tar.gz
Essentials-41235b6ee1224dcf88093d29bd2797193c217bfa.tar.lz
Essentials-41235b6ee1224dcf88093d29bd2797193c217bfa.tar.xz
Essentials-41235b6ee1224dcf88093d29bd2797193c217bfa.zip
Revert optimization, doesn't find glass blocks.
-rw-r--r--Essentials/src/com/earth2me/essentials/Util.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Util.java b/Essentials/src/com/earth2me/essentials/Util.java
index c17e196fa..4f8f10887 100644
--- a/Essentials/src/com/earth2me/essentials/Util.java
+++ b/Essentials/src/com/earth2me/essentials/Util.java
@@ -340,10 +340,6 @@ public class Util
}
y = origY + 4;
- if (origY - 4 > world.getHighestBlockYAt(x, z))
- {
- y = origY - 4;
- }
}
}