"Splinter the axe into dozens of pieces"

This commit is contained in:
TfT_02 2013-03-12 23:31:44 +01:00
parent 9aa676cee1
commit b2f400f61a
2 changed files with 2 additions and 0 deletions

View File

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

View File

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