From a4649f052d3da944c8538c0c0e1c450308f8f2d1 Mon Sep 17 00:00:00 2001 From: Tux 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 43ca3386..3b31fa7b 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -1541,6 +1541,17 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM { throw new UnsupportedOperationException( "Not supported yet." ); } + + /** + * Gets all players hidden with {@link #hidePlayer(org.bukkit.entity.Player)}. + * + * @return a Set with all hidden players + */ + @NotNull + public java.util.Set getHiddenPlayers() + { + throw new UnsupportedOperationException( "Not supported yet." ); + } } @NotNull -- 2.20.1