mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Blocks that have double drops enabled are also worth marking
This commit is contained in:
		@@ -66,7 +66,11 @@ public final class BlockUtils {
 | 
				
			|||||||
     * @return true if the block awards XP, false otherwise
 | 
					     * @return true if the block awards XP, false otherwise
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public static boolean shouldBeWatched(BlockState blockState) {
 | 
					    public static boolean shouldBeWatched(BlockState blockState) {
 | 
				
			||||||
        return affectedByGigaDrillBreaker(blockState) || affectedByGreenTerra(blockState) || affectedBySuperBreaker(blockState) || isLog(blockState);
 | 
					        return affectedByGigaDrillBreaker(blockState) || affectedByGreenTerra(blockState) || affectedBySuperBreaker(blockState) || isLog(blockState)
 | 
				
			||||||
 | 
					                || Config.getInstance().getDoubleDropsEnabled(PrimarySkillType.MINING, blockState.getType())
 | 
				
			||||||
 | 
					                || Config.getInstance().getDoubleDropsEnabled(PrimarySkillType.EXCAVATION, blockState.getType())
 | 
				
			||||||
 | 
					                || Config.getInstance().getDoubleDropsEnabled(PrimarySkillType.WOODCUTTING, blockState.getType())
 | 
				
			||||||
 | 
					                || Config.getInstance().getDoubleDropsEnabled(PrimarySkillType.SMELTING, blockState.getType());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user