Skip to content

Commit

Permalink
fix OpenScreenPayload title being decoded but not encoded (#3668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leximon authored Mar 27, 2024
1 parent 9b3069f commit e78eae2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ private static <D> OpenScreenPayload<D> fromBuf(RegistryByteBuf buf) {
private void write(RegistryByteBuf buf) {
buf.writeIdentifier(this.identifier);
buf.writeByte(this.syncId);
TextCodecs.REGISTRY_PACKET_CODEC.encode(buf, this.title);
this.innerCodec.encode(buf, this.data);
}

Expand Down

0 comments on commit e78eae2

Please sign in to comment.