Dieser Commit ist enthalten in:
Ursprung
15a35ca5a7
Commit
1993dd5a65
@ -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