From 9c6d1ce0208cab1ddca7b41645e14de7f6a9b1a4 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Mon, 30 Sep 2013 19:38:22 +0200 Subject: [PATCH] Fixing these infinite recursing methods Oops, that was silly. Thanks @t00thpick1 --- src/main/java/com/gmail/nossr50/api/ExperienceAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /**