SteamWar/SpigotCore
Archiviert
13
0

Merge pull request 'Fix login disconnect errors' (#164) from instantLogout into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #164
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2022-02-01 11:26:50 +01:00
Commit 5f1fb5595e

Datei anzeigen

@ -274,6 +274,9 @@ public class TinyProtocol {
// Inject our packet interceptor // Inject our packet interceptor
if (interceptor == null) { if (interceptor == null) {
interceptor = new PacketInterceptor(); interceptor = new PacketInterceptor();
if(!channel.isActive())
return interceptor;
channel.pipeline().addBefore("packet_handler", handlerName, interceptor); channel.pipeline().addBefore("packet_handler", handlerName, interceptor);
uninjectedChannels.remove(channel); uninjectedChannels.remove(channel);
} }