mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 13:14:44 +02:00
Change XP processing to use a single function.
This commit is contained in:
@ -42,8 +42,7 @@ public class Repair {
|
||||
|
||||
dif = (short) (dif * modify);
|
||||
|
||||
PP.addXP(player, SkillType.REPAIR, dif * 10);
|
||||
Skills.xpCheckSkill(SkillType.REPAIR, player);
|
||||
Skills.xpProcessing(player, PP, SkillType.REPAIR, dif * 10);
|
||||
|
||||
//CLANG CLANG
|
||||
if (mcMMO.p.spoutEnabled) {
|
||||
|
Reference in New Issue
Block a user