3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-05 09:20:07 +02:00
Dieser Commit ist enthalten in:
Konicai 2022-12-15 15:45:27 -05:00
Ursprung d0bff29d4b
Commit d4631e63be
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 710D09287708C823

Datei anzeigen

@ -158,14 +158,6 @@ public final class GeyserServer {
pong.subMotd(config.getBedrock().secondaryMotd()); 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 // https://github.com/GeyserMC/Geyser/issues/3388
pong.motd(pong.motd().replace(';', ':')); pong.motd(pong.motd().replace(';', ':'));
pong.subMotd(pong.subMotd().replace(';', ':')); pong.subMotd(pong.subMotd().replace(';', ':'));