From ad2387ff5b07f6693260f3281572ea99edaaff8a 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