mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-29 20:24:44 +02:00
Remove config caching from SkillTools.java
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user