2015-07-10 14:33:16 +02:00
|
|
|
From 96031401a0d28d40685afecf100e521e044f0753 Mon Sep 17 00:00:00 2001
|
2014-07-21 22:46:54 +02: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
|
2015-07-10 14:33:16 +02:00
|
|
|
index 41b7b3c..0f59c07 100644
|
2014-07-21 22:46:54 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2015-07-10 14:33:16 +02:00
|
|
|
@@ -1135,6 +1135,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2014-07-21 22:46:54 +02: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();
|
|
|
|
--
|
2015-05-25 14:05:40 +02:00
|
|
|
2.1.4
|
2014-07-21 22:46:54 +02:00
|
|
|
|