From ca5bf0bd09e2ff2da8f6100d505118fecadee2e3 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 14 Feb 2013 11:07:41 -0500 Subject: [PATCH] Fix possible fallthrough. --- src/main/java/com/gmail/nossr50/util/BlockChecks.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/BlockChecks.java b/src/main/java/com/gmail/nossr50/util/BlockChecks.java index a6eb3a467..f67335a0b 100644 --- a/src/main/java/com/gmail/nossr50/util/BlockChecks.java +++ b/src/main/java/com/gmail/nossr50/util/BlockChecks.java @@ -354,9 +354,10 @@ public final class BlockChecks { public static boolean canBeCracked(Block block) { switch(block.getType()) { case SMOOTH_BRICK: - if (block.getData() == 0) { + if (block.getData() == 0x0) { return true; } + return false; default: return false;