3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +01:00

Fixed player count and removed debug code

Dieser Commit ist enthalten in:
rtm516 2020-04-06 14:34:45 +01:00
Ursprung d4fa651427
Commit c114f49e84

Datei anzeigen

@ -143,7 +143,7 @@ public class GeyserConnector {
shuttingDown = true;
if (players.size() >= 1) {
bootstrap.getGeyserLogger().info("Kicking " + players.size() + " players");
bootstrap.getGeyserLogger().info("Kicking " + (players.size() / 3) + " players");
for (GeyserSession playerSession : players.values()) {
playerSession.disconnect("Geyser Proxy shutting down.");
@ -155,7 +155,6 @@ public class GeyserConnector {
// Simulate a long-running Job
try {
while (true) {
bootstrap.getGeyserLogger().info("Current entries: " + players.size());
if (players.size() == 0) {
return;
}