diff --git a/Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs b/Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs index d922179706..f7a498e929 100644 --- a/Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs +++ b/Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs @@ -801,7 +801,7 @@ private void UpdateXpBar(float elapsedTime, bool instant = false) float targetExpSize; var barDirectionSetting = ClientConfiguration.Instance.EntityBarDirections[(int)Vital.VitalCount]; var barPercentageSetting = Globals.Database.ShowExperienceAsPercentage; - var entityExperienceToNextLevel = (float)((Player)MyEntity).GetNextLevelExperience(); + var entityExperienceToNextLevel = ((Player)MyEntity).GetNextLevelExperience(); if (entityExperienceToNextLevel > 0) {