mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user