diff --git a/plugin/src/main/java/com/alttd/cometskyblock/util/Experience.java b/plugin/src/main/java/com/alttd/cometskyblock/util/Experience.java index f0438f6..3ba3e98 100644 --- a/plugin/src/main/java/com/alttd/cometskyblock/util/Experience.java +++ b/plugin/src/main/java/com/alttd/cometskyblock/util/Experience.java @@ -99,6 +99,7 @@ public final class Experience { } /** + * DO NOT USE -- causes incorrect updates and floating errors * Change a Player's experience. * *
This method is preferred over {@link Player#giveExp(int)}. @@ -111,6 +112,7 @@ public final class Experience { * @param player the Player affected * @param exp the amount of experience to add or remove */ + @Deprecated public static void changeExp(Player player, int exp) { exp += getExp(player);