mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 19:54:44 +02:00
Made xp sharing less ugly by reworking McMMOPlayer xp methods
Notable consequence: checkXP and addLevel in ExperienceAPI are no longer needed and became deprecated
This commit is contained in:
@ -104,7 +104,7 @@ public class Mining {
|
||||
break;
|
||||
}
|
||||
|
||||
mcMMOPlayer.addXp(SkillType.MINING, xp);
|
||||
mcMMOPlayer.beginXpGain(SkillType.MINING, xp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user