mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-29 12:14:43 +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:
@ -119,7 +119,7 @@ public class Excavation {
|
||||
}
|
||||
}
|
||||
|
||||
mcMMOPlayer.addXp(SkillType.EXCAVATION, xp);
|
||||
mcMMOPlayer.beginXpGain(SkillType.EXCAVATION, xp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user