geforkt von SteamWar/BungeeCore
Update stuff
Dieser Commit ist enthalten in:
Ursprung
ed17adf832
Commit
ac8bcdd987
@ -59,6 +59,9 @@ public class Fabric extends BasicListener {
|
||||
|
||||
BungeeCord.getInstance().getScheduler().schedule(BungeeCore.get(), () -> {
|
||||
for (Map.Entry<ProxiedPlayer, Long> entry : expectPluginMessage.entrySet()) {
|
||||
if (!BungeeCord.getInstance().getPlayers().contains(entry.getKey())) {
|
||||
continue;
|
||||
}
|
||||
if (System.currentTimeMillis() - entry.getValue() > TimeUnit.SECONDS.toMillis(20)) {
|
||||
banPlayer(SteamwarUser.get(entry.getKey()), entry.getKey());
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren