Skip to content

Commit

Permalink
fix: entityExperienceToNextLevel as Long within EntityBox (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arufonsu authored Sep 10, 2023
1 parent 67981a9 commit f3c0eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Intersect.Client/Interface/Game/EntityPanel/EntityBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f3c0eb1

Please sign in to comment.