From f20fc8575db22ecb74ec71958baa5623d7455e9b Mon Sep 17 00:00:00 2001 From: asofold Date: Tue, 5 Mar 2013 21:49:16 +0100 Subject: [PATCH] isOnGround: Fix shape judgment for shape-changing blocks. --- .../fr/neatmonster/nocheatplus/utilities/BlockProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 41d28092..3f66673e 100644 --- a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java +++ b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java @@ -1666,7 +1666,8 @@ public class BlockProperties { // TODO: More distinction necessary here. if (variable){ // Simplistic hot fix attempt for same type + same shape. - if (isFullBounds(bounds) || isSameShape(bounds, aboveBounds)){ + // TODO: Needs passable workaround check. + if (isFullBounds(aboveBounds) || isSameShape(bounds, aboveBounds)){ // TODO: Test with cactus. continue; }