|  | @@ -12,6 +12,7 @@ import com.gmail.nossr50.mcMMO;
 | 
	
		
			
				|  |  |  import com.gmail.nossr50.runnables.player.PlayerProfileSaveTask;
 | 
	
		
			
				|  |  |  import com.gmail.nossr50.skills.child.FamilyTree;
 | 
	
		
			
				|  |  |  import com.gmail.nossr50.util.player.UserManager;
 | 
	
		
			
				|  |  | +import com.gmail.nossr50.util.skills.SkillUtils;
 | 
	
		
			
				|  |  |  import com.google.common.collect.ImmutableMap;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.util.HashMap;
 | 
	
	
		
			
				|  | @@ -266,6 +267,10 @@ public class PlayerProfile {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public int getSkillXpLevel(PrimarySkillType skill) {
 | 
	
		
			
				|  |  | +        if(skill.isChildSkill()) {
 | 
	
		
			
				|  |  | +            return 0;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          return (int) Math.floor(getSkillXpLevelRaw(skill));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -415,6 +420,10 @@ public class PlayerProfile {
 | 
	
		
			
				|  |  |       * @return the total amount of Xp until next level
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      public int getXpToLevel(PrimarySkillType primarySkillType) {
 | 
	
		
			
				|  |  | +        if(primarySkillType.isChildSkill()) {
 | 
	
		
			
				|  |  | +            return 0;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          int level = (ExperienceConfig.getInstance().getCumulativeCurveEnabled()) ? UserManager.getPlayer(playerName).getPowerLevel() : skills.get(primarySkillType);
 | 
	
		
			
				|  |  |          FormulaType formulaType = ExperienceConfig.getInstance().getFormulaType();
 | 
	
		
			
				|  |  |  
 |