Merge branch 'development'

This commit is contained in:
Brianna 2021-01-21 13:07:26 -06:00
commit 2da515f31f
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.1b</version>
<version>2.2.2</version>
<relativePath>../../</relativePath>
</parent>

View File

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

View File

@ -137,7 +137,7 @@ public class TreeFallManager extends Manager implements Listener {
boolean isCreative = player.getGameMode().equals(GameMode.CREATIVE);
if (!isCreative)
ItemUtils.addDamage(tool, toolDamage);
ItemUtils.addDamage(player, tool, toolDamage);
if (ConfigurationManager.Setting.HOOKS_APPLY_EXPERIENCE.getBoolean()) {
McMMOHook.addWoodcutting(player, detectedTree.getDetectedTreeBlocks().getAllTreeBlocks().stream()

View File

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