geforkt von SteamWar/BungeeCore
Hotfix forge disconnect
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
9ca14b7565
Commit
50ee5c6e95
@ -137,7 +137,9 @@ public class Forge extends BasicListener {
|
||||
}
|
||||
|
||||
PendingConnection connection = event.getConnection();
|
||||
if(Utils.handleMods(connection.getUniqueId(), Locale.getDefault(), connection::disconnect, mods))
|
||||
if(!Utils.handleMods(connection.getUniqueId(), Locale.getDefault(), event::setCancelReason, mods)) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
event.completeIntent(BungeeCore.get());
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren