Mark the promise a success in the outbound handler.

This commit is contained in:
cpw 2014-08-20 22:49:11 -04:00
parent ceae256c56
commit c87a11e165
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
}