mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2024-11-21 20:56:14 +00:00
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 1c76fd82d51bb9dcfcda22e4e0fd62dbfe247ab3 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 8ac939b4..41a9a202 100644
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
|
@@ -2308,6 +2308,16 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
|
public void respawn() {
|
|
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<Player> getHiddenPlayers() {
|
|
+ throw new UnsupportedOperationException("Not supported yet.");
|
|
+ }
|
|
}
|
|
|
|
@NotNull
|
|
--
|
|
2.47.0
|
|
|