Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Fix mistake in 3fca39094f
Dieser Commit ist enthalten in:
Ursprung
d0bff29d4b
Commit
d4631e63be
@ -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(';', ':'));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren