[ci skip] Add missing exception docs to Player#listPlayer (#12488)

This commit is contained in:
David 2025-04-28 15:00:02 +02:00 committed by GitHub
parent b9d3147d3b
commit 952338b33e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2109,6 +2109,8 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
* *
* @param other The other {@link Player} to list. * @param other The other {@link Player} to list.
* @return True if the {@code other} player was not listed. * @return True if the {@code other} player was not listed.
* @throws IllegalStateException if this player can't see the other player
* @see #canSee(Player)
*/ */
boolean listPlayer(Player other); boolean listPlayer(Player other);
// Paper end // Paper end