From 42ddf648b1151231ebfd96698f05dc55ccfea015 Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Sat, 28 Jan 2012 12:44:49 -0500 Subject: [PATCH] Possible fix for [Issue #53] --- src/main/java/com/gmail/nossr50/skills/Repair.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/Repair.java b/src/main/java/com/gmail/nossr50/skills/Repair.java index acd026bab..cffbddb27 100644 --- a/src/main/java/com/gmail/nossr50/skills/Repair.java +++ b/src/main/java/com/gmail/nossr50/skills/Repair.java @@ -192,7 +192,7 @@ public class Repair { removeItem(player, rIron); repairItem(player, enchants, enchantsLevel); - durabilityAfter = (short) (player.getItemInHand().getDurability()-getRepairAmount(is, player)); + durabilityAfter = (short) (player.getItemInHand().getDurability(); dif = (short) (durabilityBefore - durabilityAfter); if(m.isShovel(is)) dif = (short) (dif / 3);