Pass down other packets too
This commit is contained in:
parent
161700c7e6
commit
fa97806e2e
|
|
@ -33,6 +33,7 @@ public class ForgeLoginWrapperCodec extends MessageToMessageCodec<DeferredByteBu
|
||||||
} else if (in instanceof LoginPluginResponse msg && loginWrapperIDs.remove(Integer.valueOf(msg.getId()))) {
|
} else if (in instanceof LoginPluginResponse msg && loginWrapperIDs.remove(Integer.valueOf(msg.getId()))) {
|
||||||
context = Context.createContext(msg.getId(), msg.isSuccess());
|
context = Context.createContext(msg.getId(), msg.isSuccess());
|
||||||
} else {
|
} else {
|
||||||
|
ctx.fireChannelRead(in.retain());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user