mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-26 18:54:44 +02:00
Refixed NPE due to GainXp task
This commit is contained in:
@ -61,7 +61,7 @@ public class ExperienceAPI {
|
||||
* @param XP The amount of XP to add
|
||||
*/
|
||||
public void addXP(Player player, SkillType skillType, int XP) {
|
||||
Users.getProfile(player).addXP(skillType, XP);
|
||||
Users.getProfile(player).addXP(player, skillType, XP);
|
||||
checkXP(player, skillType);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user