2014-12-21 01:09:49 +00:00
|
|
|
From 4193bbb2263c9c7cf7a7df9af84cbda545e98736 Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: Tux <write@imaginarycode.com>
|
|
|
|
Date: Sun, 9 Feb 2014 14:02:11 -0500
|
|
|
|
Subject: [PATCH] Add support for fetching hidden players
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
2014-11-30 22:16:48 +00:00
|
|
|
index 57e6eae..7ed0f6a 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2014-11-30 22:16:48 +00:00
|
|
|
@@ -1096,6 +1096,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2014-07-21 20:46:54 +00:00
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Gets all players hidden with {@link hidePlayer(org.bukkit.entity.Player)}.
|
|
|
|
+ *
|
|
|
|
+ * @return a Set with all hidden players
|
|
|
|
+ */
|
|
|
|
+ public java.util.Set<Player> getHiddenPlayers()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
|
|
|
Spigot spigot();
|
|
|
|
--
|
2014-11-28 01:17:45 +00:00
|
|
|
2.1.0
|
2014-07-21 20:46:54 +00:00
|
|
|
|