From 60754c9380935181f66c2cf8e3a067d6d4b46fd6 Mon Sep 17 00:00:00 2001 From: NuclearW Date: Tue, 22 May 2012 05:19:17 -0400 Subject: [PATCH] Implement xp --- .../com/gmail/nossr50/skills/repair/SimpleRepairManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/skills/repair/SimpleRepairManager.java b/src/main/java/com/gmail/nossr50/skills/repair/SimpleRepairManager.java index 41779ab03..6c08a6405 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/SimpleRepairManager.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/SimpleRepairManager.java @@ -140,6 +140,9 @@ public class SimpleRepairManager implements RepairManager { // Remove the item removeOneFrom(inventory, repairItemLocation); + // Give out XP like candy + Repair.xpHandler(player, PP, startDurability, newDurability, repairable.getXpMultiplier()); + // Repair the item! item.setDurability(newDurability); }