summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2012-01-15 10:55:33 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2012-01-15 10:55:33 +0000
commit96b3a075aff4cd110c4b6dbfc94ae21814adae63 (patch)
tree02179b3acc694a371f2cd9b52d085be9177a408f /src/test
parentbf123c8b02c169683c64da6965d3ee2d9eeb8d16 (diff)
downloadbukkit-96b3a075aff4cd110c4b6dbfc94ae21814adae63.tar
bukkit-96b3a075aff4cd110c4b6dbfc94ae21814adae63.tar.gz
bukkit-96b3a075aff4cd110c4b6dbfc94ae21814adae63.tar.lz
bukkit-96b3a075aff4cd110c4b6dbfc94ae21814adae63.tar.xz
bukkit-96b3a075aff4cd110c4b6dbfc94ae21814adae63.zip
Added Player set/getAllowFlight methods. Thanks to Qala for the PR.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/bukkit/plugin/messaging/TestPlayer.java8
1 files changed, 8 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 6fa07704..119903af 100644
--- a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
+++ b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
@@ -597,4 +597,12 @@ public class TestPlayer implements Player {
public void playEffect(EntityEffect type) {
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ public boolean getAllowFlight() {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ public void setAllowFlight(boolean flight) {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
}