From 46255b6a3e6b76b656f5611c13247e8dbf24dfb4 Mon Sep 17 00:00:00 2001 From: Jack Lin Date: Wed, 5 Aug 2015 10:55:05 +1200 Subject: [PATCH] Add negation to isSolid() in GeneralMethods --- src/com/projectkorra/projectkorra/GeneralMethods.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/projectkorra/projectkorra/GeneralMethods.java b/src/com/projectkorra/projectkorra/GeneralMethods.java index 1fa4700c..469566c7 100644 --- a/src/com/projectkorra/projectkorra/GeneralMethods.java +++ b/src/com/projectkorra/projectkorra/GeneralMethods.java @@ -1472,7 +1472,7 @@ public class GeneralMethods { } public static boolean isSolid(Block block) { - return Arrays.asList(nonOpaque).contains(block.getTypeId()); + return !Arrays.asList(nonOpaque).contains(block.getTypeId()); } public static boolean isSubAbility(String ability) {