showXPGain

public static void showXPGain(Player player, SkillType skillType, long oldXP, long newXP, long xpGained)

Shows or updates the XP bar for a skill.

Parameters

player

The player

skillType

The skill type

oldXP

XP before the gain

newXP

XP after the gain

xpGained

Amount of XP gained