mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +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) {
|
if (mcMMO.spoutEnabled) {
|
||||||
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,6 +92,9 @@ public class BlockChecks {
|
|||||||
case WOODEN_DOOR:
|
case WOODEN_DOOR:
|
||||||
case WORKBENCH:
|
case WORKBENCH:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (block.getTypeId() == Config.getInstance().getRepairAnvilId()) {
|
if (block.getTypeId() == Config.getInstance().getRepairAnvilId()) {
|
||||||
|
@ -192,6 +192,9 @@ public class Combat {
|
|||||||
archeryCheck((Player) shooter, target, event);
|
archeryCheck((Player) shooter, target, event);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (targetIsPlayer) {
|
if (targetIsPlayer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user