mirror of
https://github.com/songoda/UltimateTimber.git
synced 2025-02-09 08:11:24 +01:00
Merge branch 'development'
This commit is contained in:
commit
4f079a384e
@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>UltimateTimber</artifactId>
|
||||
<version>2.1</version>
|
||||
<version>2.1.1</version>
|
||||
<relativePath>../../</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>UltimateTimber</artifactId>
|
||||
<version>2.1</version>
|
||||
<version>2.1.1</version>
|
||||
<relativePath>../../</relativePath>
|
||||
</parent>
|
||||
|
||||
|
@ -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