2014-04-03 20:12:44 +00:00
|
|
|
From 267dd31ea425a46cc9c6169944a397dc285f5270 Mon Sep 17 00:00:00 2001
|
2014-02-09 19:05:23 +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-04-03 20:12:44 +00:00
|
|
|
index 2cc19a7..37c8a58 100644
|
2014-02-09 19:05:23 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2014-04-03 20:12:44 +00:00
|
|
|
@@ -1094,6 +1094,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2014-02-09 19:05:23 +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-04-03 20:12:44 +00:00
|
|
|
1.8.5.2.msysgit.0
|
2014-02-09 19:05:23 +00:00
|
|
|
|