Fixed void promise on channel write

This commit is contained in:
Felix Cravic 2020-12-06 05:52:36 +01:00
parent 70000e75d5
commit 43aca45c05

View File

@ -151,7 +151,7 @@ public class NettyPlayerConnection extends PlayerConnection {
}
});
} else {
return channel.write(message, channel.voidPromise());
return channel.write(message);
}
}
@ -163,7 +163,7 @@ public class NettyPlayerConnection extends PlayerConnection {
}
});
} else {
return channel.writeAndFlush(message, channel.voidPromise());
return channel.writeAndFlush(message);
}
}