From 41235b6ee1224dcf88093d29bd2797193c217bfa Mon Sep 17 00:00:00 2001 From: KHobbits Date: Tue, 17 Jul 2012 21:05:13 +0100 Subject: Revert optimization, doesn't find glass blocks. --- Essentials/src/com/earth2me/essentials/Util.java | 4 ---- 1 file changed, 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; - } } } -- cgit v1.2.3