mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02: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;
|
||||
|
||||
if(abilityLengthCap < 0)
|
||||
if(abilityLengthCap <= 0)
|
||||
{
|
||||
length = 2 + (int) (skillValue / abilityLengthVar);
|
||||
}
|
||||
|
Reference in New Issue
Block a user