Browse Source

"Splinter the axe into dozens of pieces"

TfT_02 12 years ago
parent
commit
b2f400f61a

+ 1 - 0
Changelog.txt

@@ -29,6 +29,7 @@ Version 1.4.03-dev
  = Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice
  = Fixed bug where Beast Lore wouldn't work on friendly pets
  = Fixed bug where Deflect was calculated based on the attacker, not the defender. (We really did this time!)
+ = Fixed bug where Treefeller would not deal durability damage when the axe "splinters into dozens of pieces"
  ! Moved the Salvage unlock level from config.yml to advanced.yml
  ! Changed how Chimaera Wings are acquired, you need to craft them now. (By default, use 5 feathers in a shapeless recipe)
  - Removed option to disable Salvage via the config file. This should be handled via permissions instead.

+ 1 - 0
src/main/java/com/gmail/nossr50/skills/woodcutting/Woodcutting.java

@@ -232,6 +232,7 @@ public final class Woodcutting {
         short maxDurability = ModUtils.isCustomTool(inHand) ? ModUtils.getToolFromItemStack(inHand).getDurability() : inHandMaterial.getMaxDurability();
 
         if (finalDurability >= maxDurability) {
+            inHand.setDurability(maxDurability);
             return false;
         }