forked from GeyserMC/Geyser
Fixed player count and removed debug code
This commit is contained in:
parent
d4fa651427
commit
c114f49e84
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue