mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix errors caused by multi-target messages sent from LAN host (#4536)
This commit is contained in:
1 parent
a2fb242814
commit
aaf47afff2
1 file changed
+3
-1
@@ -304,8 +304,10 @@ public class FMLOutboundHandler extends ChannelOutboundHandlerAdapter {
|
||||
}
|
||||
for (NetworkDispatcher targetDispatcher : dispatchers)
|
||||
{
|
||||
targetDispatcher.sendProxy((FMLProxyPacket) msg);
|
||||
pkt.payload().retain();
|
||||
targetDispatcher.sendProxy(pkt);
|
||||
}
|
||||
pkt.payload().release();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user