mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-30 16:53: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
	 nossr50
					nossr50