Archiviert
1
0

Revert some stuff

Dieser Commit ist enthalten in:
yoyosource 2022-04-05 19:50:41 +02:00
Ursprung 6b8d46d75a
Commit 4c9ac4a984

Datei anzeigen

@ -60,6 +60,9 @@ public class Fabric extends BasicListener {
BungeeCord.getInstance().getScheduler().schedule(BungeeCore.get(), () -> {
synchronized (expectPluginMessage) {
for (Map.Entry<ProxiedPlayer, Long> entry : expectPluginMessage.entrySet()) {
if (!checkedPlayers.containsKey(entry.getKey())) {
continue;
}
if (System.currentTimeMillis() - entry.getValue() > TimeUnit.SECONDS.toMillis(20)) {
banPlayer(SteamwarUser.get(entry.getKey()), entry.getKey());
return;
@ -89,6 +92,7 @@ public class Fabric extends BasicListener {
}
}
}
expectPluginMessage.remove(player);
List<Mod> mods = new LinkedList<>();