mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixing these infinite recursing methods
Oops, that was silly. Thanks @t00thpick1
This commit is contained in:
parent
c72ead9d0a
commit
9c6d1ce020
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user