geforkt von SteamWar/BungeeCore
Revert some stuff
Dieser Commit ist enthalten in:
Ursprung
6b8d46d75a
Commit
4c9ac4a984
@ -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<>();
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren