mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Added some missing defaults to switch cases.
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user