mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
fix: remove apiNote javadoc tags
(cherry picked from commit daf3e68cc8
)
This commit is contained in:
parent
bd58b1b9f6
commit
a0d87f2e91
@ -58,7 +58,7 @@ public final class ConnectionManager {
|
|||||||
/**
|
/**
|
||||||
* Gets the number of "online" players, eg for the query response.
|
* Gets the number of "online" players, eg for the query response.
|
||||||
*
|
*
|
||||||
* @apiNote Only includes players in the play state, not players in configuration.
|
* <p>Only includes players in the play state, not players in configuration.</p>
|
||||||
*/
|
*/
|
||||||
public int getOnlinePlayerCount() {
|
public int getOnlinePlayerCount() {
|
||||||
return playPlayers.size();
|
return playPlayers.size();
|
||||||
@ -67,12 +67,13 @@ public final class ConnectionManager {
|
|||||||
/**
|
/**
|
||||||
* Gets players filtered by state.
|
* Gets players filtered by state.
|
||||||
*
|
*
|
||||||
|
* <p>The returned collection has no defined update behavior relative to the state of the server,
|
||||||
|
* so it should be refetched whenever used, rather than kept and reused.</p>
|
||||||
|
*
|
||||||
* @param states The state(s) to return players, if empty all players (play and config) are returned.
|
* @param states The state(s) to return players, if empty all players (play and config) are returned.
|
||||||
* <b>Only</b> {@link ConnectionState#CONFIGURATION} and {@link ConnectionState#PLAY} are valid.
|
* <b>Only</b> {@link ConnectionState#CONFIGURATION} and {@link ConnectionState#PLAY} are valid.
|
||||||
*
|
*
|
||||||
* @return An unmodifiable collection containing the filtered players.
|
* @return An unmodifiable collection containing the filtered players.
|
||||||
* @apiNote The returned collection has no defined update behavior relative to the state of the server,
|
|
||||||
* so it should be refetched whenever used, rather than kept and reused.
|
|
||||||
*/
|
*/
|
||||||
public @NotNull Collection<@NotNull Player> getPlayers(@NotNull ConnectionState... states) {
|
public @NotNull Collection<@NotNull Player> getPlayers(@NotNull ConnectionState... states) {
|
||||||
boolean play = false, config = false;
|
boolean play = false, config = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user