Added some missing defaults to switch cases.

This commit is contained in:
GJ 2012-07-02 19:26:40 -04:00
parent f18a9bdcc7
commit 3c10be6d1a
3 changed files with 9 additions and 0 deletions

View File

@ -397,6 +397,9 @@ public class Mining {
if (mcMMO.spoutEnabled) {
SpoutSounds.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
}
default:
break;
}
}
}

View File

@ -92,6 +92,9 @@ public class BlockChecks {
case WOODEN_DOOR:
case WORKBENCH:
return false;
default:
break;
}
if (block.getTypeId() == Config.getInstance().getRepairAnvilId()) {

View File

@ -192,6 +192,9 @@ public class Combat {
archeryCheck((Player) shooter, target, event);
break;
default:
break;
}
if (targetIsPlayer) {