mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fix possible fallthrough.
This commit is contained in:
parent
88b05cd5aa
commit
ca5bf0bd09
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user