1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 03:03:02 +01:00

These fit better in SkillTools. Plus, we had already duplicated one of

them.
This commit is contained in:
GJ
2013-02-18 10:26:19 -05:00
parent d0d9527d39
commit 1da1bb7218
4 changed files with 5 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ import com.gmail.nossr50.datatypes.PlayerProfile;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.skills.utilities.SkillTools;
import com.gmail.nossr50.skills.utilities.SkillType;
import com.gmail.nossr50.util.Misc;
import com.gmail.nossr50.util.StringUtils;
import com.gmail.nossr50.util.Users;
@@ -124,7 +123,7 @@ public abstract class SkillCommand implements CommandExecutor {
protected String[] calculateLengthDisplayValues() {
int maxLength = skill.getAbility().getMaxTicks();
int length = 2 + (int) (skillValue / Misc.abilityLengthIncreaseLevel);
int length = 2 + (int) (skillValue / SkillTools.abilityLengthIncreaseLevel);
int enduranceLength = 0;
if (player.hasPermission("mcmmo.perks.activationtime.twelveseconds")) {