mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01: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