diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-01-31 13:50:12 -0600 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-03 03:32:21 -0500 |
commit | 5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8 (patch) | |
tree | c04e5c7c4977e5a0ee7681146ae293fdc55ef76b /src/test | |
parent | 8d2637ee0da3cf8d6d5275d7d5a0c30a922c297f (diff) | |
download | bukkit-5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8.tar bukkit-5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8.tar.gz bukkit-5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8.tar.lz bukkit-5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8.tar.xz bukkit-5e6125e01be2c30f93bb6f8da1eb7cba76bd1ef8.zip |
[Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/bukkit/plugin/messaging/TestPlayer.java | 12 |
1 files changed, 12 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 4bef1f02..95e02c76 100644 --- a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java +++ b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java @@ -609,4 +609,16 @@ public class TestPlayer implements Player { public void setBedSpawnLocation(Location location) { throw new UnsupportedOperationException("Not supported yet."); } + + public void hidePlayer(Player player) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public void showPlayer(Player player) { + throw new UnsupportedOperationException("Not supported yet."); + } + + public boolean canSee(Player player) { + throw new UnsupportedOperationException("Not supported yet."); + } } |