mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-04 08:18:46 +01: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