mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 09:21:57 +01:00
SPIGOT-7772: Include hidden / non-sampled players in player count
By: md_5 <git@md-5.net>
This commit is contained in:
parent
542f38bbd0
commit
97750e6387
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…
Reference in a new issue