From 8762d3802065d8a4f2e322637d54a6b3cbd71022 Mon Sep 17 00:00:00 2001 From: asofold Date: Tue, 5 Mar 2013 21:36:30 +0100 Subject: [PATCH] Fix isOnGround issue with shape judgment. --- .../neatmonster/nocheatplus/utilities/BlockProperties.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java index 0e29f5b0..41d28092 100644 --- a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java +++ b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java @@ -1667,6 +1667,7 @@ public class BlockProperties { if (variable){ // Simplistic hot fix attempt for same type + same shape. if (isFullBounds(bounds) || isSameShape(bounds, aboveBounds)){ + // TODO: Test with cactus. continue; } else{ @@ -1714,10 +1715,10 @@ public class BlockProperties { for (int i = 0; i < 6; i++){ if (bounds1[i] != bounds2[i]){ // Simplistic. - return true; + return false; } } - return false; + return true; } /**