Update SpongeEncodeHandler.java

This commit is contained in:
creeper123123321 2021-02-06 11:18:51 -03:00 committed by GitHub
parent 6941b48038
commit 100ae1c680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ public class SpongeEncodeHandler extends MessageToByteEncoder<Object> implements
}
}
} else {
bytebuf.write((ByteBuf) o)
bytebuf.writeBytes((ByteBuf) o)
}
transform(bytebuf);
}