Remove config caching from SkillTools.java

This commit is contained in:
GJ
2013-02-22 13:53:16 -05:00
parent 0d473d232e
commit 9282b7bd15
4 changed files with 6 additions and 10 deletions

View File

@ -143,7 +143,7 @@ public final class TreeFeller {
for (BlockState blockState : treeFellerBlocks) {
if (BlockChecks.isLog(blockState) && Misc.getRandom().nextInt(unbreakingLevel + 1) == 0) {
durabilityLoss += SkillTools.toolDurabilityLoss;
durabilityLoss += Config.getInstance().getAbilityToolDamage();
}
}