|
@@ -140,6 +140,9 @@ public class SimpleRepairManager implements RepairManager {
|
|
// Remove the item
|
|
// Remove the item
|
|
removeOneFrom(inventory, repairItemLocation);
|
|
removeOneFrom(inventory, repairItemLocation);
|
|
|
|
|
|
|
|
+ // Give out XP like candy
|
|
|
|
+ Repair.xpHandler(player, PP, startDurability, newDurability, repairable.getXpMultiplier());
|
|
|
|
+
|
|
// Repair the item!
|
|
// Repair the item!
|
|
item.setDurability(newDurability);
|
|
item.setDurability(newDurability);
|
|
}
|
|
}
|