Mark the promise a success in the outbound handler.
This commit is contained in:
parent
ceae256c56
commit
c87a11e165
|
@ -276,12 +276,14 @@ public class FMLOutboundHandler extends ChannelOutboundHandlerAdapter {
|
|||
if (dispatchers == null)
|
||||
{
|
||||
ctx.write(msg, promise);
|
||||
promise.setSuccess();
|
||||
return;
|
||||
}
|
||||
for (NetworkDispatcher targetDispatcher : dispatchers)
|
||||
{
|
||||
targetDispatcher.sendProxy((FMLProxyPacket) msg);
|
||||
}
|
||||
promise.setSuccess();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue