SteamWar/SpigotCore
Archiviert
13
0

Fix login disconnect errors
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-02-01 11:19:03 +01:00
Ursprung 15a35ca5a7
Commit 1993dd5a65

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);
} }