Fix errors caused by multi-target messages sent from LAN host (#4536)
This commit is contained in:
parent
a2fb242814
commit
aaf47afff2
1 changed files with 3 additions and 1 deletions
|
@ -304,8 +304,10 @@ public class FMLOutboundHandler extends ChannelOutboundHandlerAdapter {
|
||||||
}
|
}
|
||||||
for (NetworkDispatcher targetDispatcher : dispatchers)
|
for (NetworkDispatcher targetDispatcher : dispatchers)
|
||||||
{
|
{
|
||||||
targetDispatcher.sendProxy((FMLProxyPacket) msg);
|
pkt.payload().retain();
|
||||||
|
targetDispatcher.sendProxy(pkt);
|
||||||
}
|
}
|
||||||
|
pkt.payload().release();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue