diff --git a/Changelog.txt b/Changelog.txt index eaa2fb5ca..9e773f7e8 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -13,6 +13,7 @@ Version 1.3.06-dev + Changed Archery's Daze to deal 4 DMG on proc (2 Hearts) + Changed /addlevel command to work for offline users = Fixed mmoupdate not being useable from console + = Fixed bug with repairing wooden tools ! Changed PlayerProfile constructor to always take a boolean ! Changed getPlayerProfile function to work for online & offline users diff --git a/src/main/java/com/gmail/nossr50/skills/Repair.java b/src/main/java/com/gmail/nossr50/skills/Repair.java index 65a33fa19..95187e73b 100644 --- a/src/main/java/com/gmail/nossr50/skills/Repair.java +++ b/src/main/java/com/gmail/nossr50/skills/Repair.java @@ -484,5 +484,6 @@ public class Repair { int slot = inventory.first(Material.WOOD); ItemStack item = inventory.getItem(slot); item.setAmount(item.getAmount() - 1); + inventory.setItem(slot, item); } }