mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 08:55:26 +01:00
Implement xp
This commit is contained in:
parent
c890ff5605
commit
60754c9380
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user