Update ExpCommand with levels support. Fixes BUKKIT-2683 and partially fixes BUKKIT-2671

This commit is contained in:
EvilSeph
2012-10-29 05:19:20 -04:00
parent d2df73a75e
commit b9dda28b5b
2 changed files with 57 additions and 20 deletions

View File

@@ -370,6 +370,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 />