diff --git a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/Networking.java b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/Networking.java index 7102b0c46a..1b23bf146b 100644 --- a/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/Networking.java +++ b/fabric-screen-handler-api-v1/src/main/java/net/fabricmc/fabric/impl/screenhandler/Networking.java @@ -103,6 +103,7 @@ private static OpenScreenPayload 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); }