mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-12-01 14:23:24 +01:00
This is backwards.
This commit is contained in:
parent
ffb7657a78
commit
9d58e513b4
@ -115,7 +115,7 @@ public class TreeFallManager extends Manager implements Listener {
|
||||
return;
|
||||
|
||||
int toolDamage = this.getToolDamage(detectedTree.getDetectedTreeBlocks(), tool.containsEnchantment(Enchantment.SILK_TOUCH));
|
||||
if (ConfigurationManager.Setting.PROTECT_TOOL.getBoolean() && !ItemUtils.hasEnoughDurability(tool, toolDamage))
|
||||
if (!ConfigurationManager.Setting.PROTECT_TOOL.getBoolean() && !ItemUtils.hasEnoughDurability(tool, toolDamage))
|
||||
return;
|
||||
|
||||
// Trigger fall event
|
||||
|
Loading…
Reference in New Issue
Block a user