From 5355e227abd7f8b1af69f22043d66c8d0b7ec62f Mon Sep 17 00:00:00 2001 From: Brianna Date: Thu, 21 Jan 2021 10:19:02 -0600 Subject: [PATCH 1/2] Use the updated SongodaCore item damage method to fix axes not breaking. --- .../src/com/songoda/ultimatetimber/manager/TreeFallManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltimateTimber/Plugin/src/com/songoda/ultimatetimber/manager/TreeFallManager.java b/UltimateTimber/Plugin/src/com/songoda/ultimatetimber/manager/TreeFallManager.java index cf31900..65d21c5 100644 --- a/UltimateTimber/Plugin/src/com/songoda/ultimatetimber/manager/TreeFallManager.java +++ b/UltimateTimber/Plugin/src/com/songoda/ultimatetimber/manager/TreeFallManager.java @@ -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() From c706ce3e6c0e6dd6286cc5b82dc55d914c3ff715 Mon Sep 17 00:00:00 2001 From: Brianna Date: Thu, 21 Jan 2021 13:06:52 -0600 Subject: [PATCH 2/2] version 2.2.2 --- UltimateTimber/Core/pom.xml | 2 +- UltimateTimber/Plugin/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UltimateTimber/Core/pom.xml b/UltimateTimber/Core/pom.xml index 8f9cb45..0f323d9 100644 --- a/UltimateTimber/Core/pom.xml +++ b/UltimateTimber/Core/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.1.1b + 2.2.2 ../../ diff --git a/UltimateTimber/Plugin/pom.xml b/UltimateTimber/Plugin/pom.xml index 7bfd6f0..82f7e54 100644 --- a/UltimateTimber/Plugin/pom.xml +++ b/UltimateTimber/Plugin/pom.xml @@ -3,7 +3,7 @@ com.songoda UltimateTimber - 2.1.1b + 2.2.2 ../../ diff --git a/pom.xml b/pom.xml index 765f024..1ce17ce 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda UltimateTimber - 2.1.1b + 2.2.2 4.0.0 pom