Fixing a bug where an ability length cap of 0 did not properly update skill commands

Fixes #3709
This commit is contained in:
nossr50 2019-01-24 20:55:46 -08:00
parent 1d6a142b12
commit 24458879a4

View File

@ -230,7 +230,7 @@ public abstract class SkillCommand implements TabExecutor {
int length;
if(abilityLengthCap < 0)
if(abilityLengthCap <= 0)
{
length = 2 + (int) (skillValue / abilityLengthVar);
}