Merge pull request 'Fix login disconnect errors' (#164) from instantLogout into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #164 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
5f1fb5595e
@ -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);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren