From 308209743795845ca42270b8f0633922eb017b91 Mon Sep 17 00:00:00 2001 From: asofold Date: Sun, 7 Oct 2012 23:19:36 +0200 Subject: [PATCH] Fix passable + cauldron. Use Arrays.fill somewhere (@Score_Under). --- .../neatmonster/nocheatplus/utilities/BlockProperties.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/utilities/BlockProperties.java b/src/fr/neatmonster/nocheatplus/utilities/BlockProperties.java index c106a1ff..e56c192c 100644 --- a/src/fr/neatmonster/nocheatplus/utilities/BlockProperties.java +++ b/src/fr/neatmonster/nocheatplus/utilities/BlockProperties.java @@ -292,9 +292,7 @@ public class BlockProperties { } private static void initBlocks() { - for (int i = 0; i = 0.4375) return true; // 0.0625 = 0.125 / 2 + else if (id == Material.CAULDRON.getId()){ + if (Math.abs(0.5 - fx) < 0.1 && Math.abs(0.5 - fz) < 0.1 && fy > 0.1) return true; + } // Nothing found. return false; }