Skip to content

Commit f3f19df

Browse files
Pass dialog title through component conversion in 1.21.6->.5 (#1074)
1 parent 80ed7e1 commit f3f19df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_6to1_21_5/provider/ChestDialogViewProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void openChestView(final UserConnection connection, final ChestDialogStor
105105
final PacketWrapper openScreen = PacketWrapper.create(ClientboundPackets1_21_5.OPEN_SCREEN, connection);
106106
openScreen.write(Types.VAR_INT, storage.containerId());
107107
openScreen.write(Types.VAR_INT, 2); // Container type id
108-
openScreen.write(Types.TAG, storage.dialog().title());
108+
openScreen.write(Types.TAG, handleTag(connection, storage.dialog().title()));
109109
openScreen.send(Protocol1_21_6To1_21_5.class);
110110
updateDialog(connection, storage.dialog());
111111
}

0 commit comments

Comments
 (0)