diff options
Diffstat (limited to 'src/main/java/org/bukkit/entity/Player.java')
-rw-r--r-- | src/main/java/org/bukkit/entity/Player.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index 7f667f6c..73a9ea4e 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -371,6 +371,13 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline public void giveExp(int amount); /** + * Gives the player the amount of experience levels specified. Levels can be taken by specifying a negative amount. + * + * @param amount amount of experience levels to give or take + */ + public void giveExpLevels(int amount); + + /** * Gets the players current experience points towards the next level. * <p /> * This is a percentage value. 0 is "no progress" and 1 is "next level". |