mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Added some missing defaults to switch cases.
This commit is contained in:
parent
f18a9bdcc7
commit
3c10be6d1a
@ -397,6 +397,9 @@ public class Mining {
|
||||
if (mcMMO.spoutEnabled) {
|
||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,6 +92,9 @@ public class BlockChecks {
|
||||
case WOODEN_DOOR:
|
||||
case WORKBENCH:
|
||||
return false;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (block.getTypeId() == Config.getInstance().getRepairAnvilId()) {
|
||||
|
@ -192,6 +192,9 @@ public class Combat {
|
||||
archeryCheck((Player) shooter, target, event);
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (targetIsPlayer) {
|
||||
|
Loading…
Reference in New Issue
Block a user