mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-7772: Include hidden / non-sampled players in player count
This commit is contained in:
parent
3153debc5f
commit
cbd95a6b35
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@
|
|||
+ }
|
||||
+ }
|
||||
+
|
||||
+ ServerPing.ServerPingPlayerSample playerSample = new ServerPing.ServerPingPlayerSample(event.getMaxPlayers(), profiles.size(), (server.hidesOnlinePlayers()) ? Collections.emptyList() : profiles);
|
||||
+ ServerPing.ServerPingPlayerSample playerSample = new ServerPing.ServerPingPlayerSample(event.getMaxPlayers(), event.getNumPlayers(), (server.hidesOnlinePlayers()) ? Collections.emptyList() : profiles);
|
||||
+
|
||||
+ ServerPing ping = new ServerPing(
|
||||
+ CraftChatMessage.fromString(event.getMotd(), true)[0],
|
||||
|
|
Loading…
Add table
Reference in a new issue