mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-03 09:19:38 +01:00
31 lines
1017 B
Diff
31 lines
1017 B
Diff
From 200eacd0d6f315d1b0c918ba29c49111f7b5a8a5 Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 43ef5b1..97995db 100644
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
@@ -1330,6 +1330,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|
{
|
|
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();
|
|
--
|
|
2.5.0
|
|
|