Pass down other packets too

This commit is contained in:
Adrian Bergqvist 2023-11-27 20:36:46 +01:00
parent 161700c7e6
commit fa97806e2e
No known key found for this signature in database
GPG Key ID: FAE7D8EDE225E686

View File

@ -33,6 +33,7 @@ public class ForgeLoginWrapperCodec extends MessageToMessageCodec<DeferredByteBu
} else if (in instanceof LoginPluginResponse msg && loginWrapperIDs.remove(Integer.valueOf(msg.getId()))) {
context = Context.createContext(msg.getId(), msg.isSuccess());
} else {
ctx.fireChannelRead(in.retain());
return;
}