diff --git a/src/main/java/net/lyof/sortilege/utils/XPHelper.java b/src/main/java/net/lyof/sortilege/utils/XPHelper.java index 7ffde39..56dc81f 100644 --- a/src/main/java/net/lyof/sortilege/utils/XPHelper.java +++ b/src/main/java/net/lyof/sortilege/utils/XPHelper.java @@ -48,7 +48,7 @@ public static int getTotalxp(int level, float progress, ServerLevel server) { for (int i = 0; i <= level; i++) { dummy.experienceLevel = i; - total += (int) (dummy.getXpNeededForNextLevel() * (i == level ? progress : 1)); + total += dummy.getXpNeededForNextLevel() * (i == level ? progress : 1); } totalxpCache.put(level, total);