mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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:
parent
1d6a142b12
commit
24458879a4
@ -230,7 +230,7 @@ public abstract class SkillCommand implements TabExecutor {
|
||||
|
||||
int length;
|
||||
|
||||
if(abilityLengthCap < 0)
|
||||
if(abilityLengthCap <= 0)
|
||||
{
|
||||
length = 2 + (int) (skillValue / abilityLengthVar);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user