Fix PacketWrapper#constructPacket

This commit is contained in:
creeper123123321 2018-09-24 03:42:08 -03:00
parent 9f6766fb82
commit eb5c10d375
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -330,7 +330,7 @@ public class PacketWrapper {
resetReader();
// Apply other protocols
apply(Direction.OUTGOING, user().get(ProtocolInfo.class).getState(), index, protocols);
apply(direction, user().get(ProtocolInfo.class).getState(), index, protocols);
// Send
ByteBuf output = inputBuffer == null ? user().getChannel().alloc().buffer() : inputBuffer.alloc().buffer();
writeToBuffer(output);