Merge branch 'development'

This commit is contained in:
Brianna 2020-11-03 18:19:02 -06:00
commit 4f079a384e
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<parent>
<groupId>com.songoda</groupId>
<artifactId>UltimateTimber</artifactId>
<version>2.1</version>
<version>2.1.1</version>
<relativePath>../../</relativePath>
</parent>

View File

@ -3,7 +3,7 @@
<parent>
<groupId>com.songoda</groupId>
<artifactId>UltimateTimber</artifactId>
<version>2.1</version>
<version>2.1.1</version>
<relativePath>../../</relativePath>
</parent>

View File

@ -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

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId>
<artifactId>UltimateTimber</artifactId>
<version>2.1</version>
<version>2.1.1</version>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>