Refactor to getMaxLength

This commit is contained in:
TfT_02
2013-09-15 19:47:20 +02:00
parent ec6419f0ff
commit 17faf1561f
4 changed files with 6 additions and 6 deletions

View File

@ -143,7 +143,7 @@ public abstract class SkillCommand implements TabExecutor {
}
protected String[] calculateLengthDisplayValues() {
int maxLength = skill.getAbility().getMaxTicks();
int maxLength = skill.getAbility().getMaxLength();
int length = 2 + (int) (skillValue / AdvancedConfig.getInstance().getAbilityLength());
int enduranceLength = PerksUtils.handleActivationPerks(player, length, maxLength);