Fix possible fallthrough.

This commit is contained in:
GJ 2013-02-14 11:07:41 -05:00
parent 88b05cd5aa
commit ca5bf0bd09

View File

@ -354,9 +354,10 @@ public final class BlockChecks {
public static boolean canBeCracked(Block block) { public static boolean canBeCracked(Block block) {
switch(block.getType()) { switch(block.getType()) {
case SMOOTH_BRICK: case SMOOTH_BRICK:
if (block.getData() == 0) { if (block.getData() == 0x0) {
return true; return true;
} }
return false;
default: default:
return false; return false;