diff --git a/src/main/java/com/gmail/nossr50/api/ExperienceAPI.java b/src/main/java/com/gmail/nossr50/api/ExperienceAPI.java index d05d8dcf1..bf42a566c 100644 --- a/src/main/java/com/gmail/nossr50/api/ExperienceAPI.java +++ b/src/main/java/com/gmail/nossr50/api/ExperienceAPI.java @@ -50,7 +50,7 @@ public final class ExperienceAPI { @Deprecated public static void addRawXP(Player player, String skillType, int XP) { - addRawXP(player, skillType, XP); + addRawXP(player, skillType, (float) XP); } /** @@ -70,7 +70,7 @@ public final class ExperienceAPI { @Deprecated public static void addRawXPOffline(String playerName, String skillType, int XP) { - addRawXPOffline(playerName, skillType, XP); + addRawXPOffline(playerName, skillType, (float) XP); } /**