mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Let's be consistent D:
This commit is contained in:
		@@ -95,12 +95,12 @@ public final class Woodcutting {
 | 
			
		||||
    protected static int getExperienceFromLog(Block log, ExperienceGainMethod experienceGainMethod) {
 | 
			
		||||
        // Mushrooms aren't trees so we could never get species data from them
 | 
			
		||||
        switch (log.getType()) {
 | 
			
		||||
            case HUGE_MUSHROOM_1:
 | 
			
		||||
                return Config.getInstance().getWoodcuttingXPHugeBrownMushroom();
 | 
			
		||||
            case HUGE_MUSHROOM_2:
 | 
			
		||||
                return Config.getInstance().getWoodcuttingXPHugeRedMushroom();
 | 
			
		||||
            default:
 | 
			
		||||
                break;
 | 
			
		||||
        case HUGE_MUSHROOM_1:
 | 
			
		||||
            return Config.getInstance().getWoodcuttingXPHugeBrownMushroom();
 | 
			
		||||
        case HUGE_MUSHROOM_2:
 | 
			
		||||
            return Config.getInstance().getWoodcuttingXPHugeRedMushroom();
 | 
			
		||||
        default:
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        TreeSpecies logType = TreeSpecies.getByData(extractLogItemData(log.getData()));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user