mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Fixing a bug where an ability length cap of 0 did not properly update skill commands
Fixes #3709
This commit is contained in:
		@@ -230,7 +230,7 @@ public abstract class SkillCommand implements TabExecutor {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        int length;
 | 
					        int length;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if(abilityLengthCap < 0)
 | 
					        if(abilityLengthCap <= 0)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            length = 2 + (int) (skillValue / abilityLengthVar);
 | 
					            length = 2 + (int) (skillValue / abilityLengthVar);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user