mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Fixed diminished returns not getting disabled
This commit is contained in:
		@@ -47,7 +47,7 @@ public class SelfListener implements Listener {
 | 
			
		||||
        SkillType skillType = event.getSkill();
 | 
			
		||||
        int threshold = ExperienceConfig.getInstance().getDiminishedReturnsThreshold(skillType);
 | 
			
		||||
 | 
			
		||||
        if (threshold <= 0) {
 | 
			
		||||
        if (threshold <= 0 || !ExperienceConfig.getInstance().getDiminishedReturnsEnabled()) {
 | 
			
		||||
            // Diminished returns is turned off
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user