runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpTrackerPlugin.java
/**
	 * Reset an individual skill with the client's current known state of the skill
	 * Will also clear the skill from the UI.
	 * @param skill Skill to reset
	 */
Reset an individual skill with the client's current known state of the skill
Will also clear the skill from the UI.
@param skill Skill to reset
Reset an individual skill with the client ' s current known state of the skill Will also clear the skill from the UI . @param skill Skill to reset
public void resetSkillState(Skill skill)
	{
		int currentXp = client.getSkillExperience(skill);
		xpState.resetSkill(skill, currentXp);
		xpState.recalculateTotal();
		xpPanel.resetSkill(skill);
		xpPanel.updateTotal(xpState.getTotalSnapshot());
	}
public void resetSkillState ( Skill skill ) { int currentXp = client . getSkillExperience ( skill ) ; xpState . resetSkill ( skill , currentXp ) ; xpState . recalculateTotal ( ) ; xpPanel . resetSkill ( skill ) ; xpPanel . updateTotal ( xpState . getTotalSnapshot ( ) ) ; }
Reset an individual skill with the client's current known state of the skill
 Will also clear the skill from the UI.
Reset an individual skill with the client ' s current known state of the skill Will also clear the skill from the UI .