summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2012-07-10 13:38:07 -0500
committerfeildmaster <admin@feildmaster.com>2012-07-11 17:12:26 -0500
commit77bdf88cd6c6f461f4a7da03f9e69d0faf99312d (patch)
tree4c3f3634c1cc2256cfd4774f1fa6ca0532a87be3 /src/test/java
parenteb3f24011f5b5020b9912230ca97d1cff69a6958 (diff)
downloadbukkit-77bdf88cd6c6f461f4a7da03f9e69d0faf99312d.tar
bukkit-77bdf88cd6c6f461f4a7da03f9e69d0faf99312d.tar.gz
bukkit-77bdf88cd6c6f461f4a7da03f9e69d0faf99312d.tar.lz
bukkit-77bdf88cd6c6f461f4a7da03f9e69d0faf99312d.tar.xz
bukkit-77bdf88cd6c6f461f4a7da03f9e69d0faf99312d.zip
Add API to get a players experience to level (getExpToLevel). Implements BUKKIT-1906
This is the total experience one needs to gain a level.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/bukkit/plugin/messaging/TestPlayer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
index 061a5e06..4de6dd2a 100644
--- a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
+++ b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
@@ -764,4 +764,8 @@ public class TestPlayer implements Player {
public boolean isValid() {
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ public int getExpToLevel() {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
}