runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpTrackerPlugin.java
/**
	 * Reset internal state and re-initialize all skills with XP currently cached by the RS client
	 * This is called by the user manually clicking resetSkillState in the UI.
	 * It reloads the current skills from the client after resetting internal state.
	 */
Reset internal state and re-initialize all skills with XP currently cached by the RS client
This is called by the user manually clicking resetSkillState in the UI.
It reloads the current skills from the client after resetting internal state.
Reset internal state and re - initialize all skills with XP currently cached by the RS client This is called by the user manually clicking resetSkillState in the UI . It reloads the current skills from the client after resetting internal state .
public void resetAndInitState()
	{
		resetState();
		for (Skill skill : Skill.values())
		{
			int currentXp = client.getSkillExperience(skill);
			xpState.initializeSkill(skill, currentXp);
		}
	}
public void resetAndInitState ( ) { resetState ( ) ; for ( Skill skill : Skill . values ( ) ) { int currentXp = client . getSkillExperience ( skill ) ; xpState . initializeSkill ( skill , currentXp ) ; } }
Reset internal state and re-initialize all skills with XP currently cached by the RS client
 This is called by the user manually clicking resetSkillState in the UI.
Reset internal state and re - initialize all skills with XP currently cached by the RS client This is called by the user manually clicking resetSkillState in the UI .