This commit is contained in:
Konicai 2022-12-15 15:45:27 -05:00
parent d0bff29d4b
commit d4631e63be
No known key found for this signature in database
GPG Key ID: 710D09287708C823
1 changed files with 0 additions and 8 deletions

View File

@ -158,14 +158,6 @@ public final class GeyserServer {
pong.subMotd(config.getBedrock().secondaryMotd());
}
if (config.isPassthroughPlayerCounts() && pingInfo != null) {
pong.playerCount(pingInfo.getPlayers().getOnline());
pong.maximumPlayerCount(pingInfo.getPlayers().getMax());
} else {
pong.playerCount(geyser.getSessionManager().getSessions().size());
pong.maximumPlayerCount(config.getMaxPlayers());
}
// https://github.com/GeyserMC/Geyser/issues/3388
pong.motd(pong.motd().replace(';', ':'));
pong.subMotd(pong.subMotd().replace(';', ':'));