Skip to content

Commit 531e564

Browse files
Use correct version for serializing the json component
1 parent 81840dc commit 531e564

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/com/viaversion/viarewind/protocol/protocol1_8to1_9/storage

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viarewind/protocol/protocol1_8to1_9/storage/Windows.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static void updateBrewingStand(UserConnection user, Item blazePowder, sho
8181
append(new StringComponent(amount + " " + TextFormatting.DARK_RED)).
8282
append(new TranslationComponent("item.blazePowder.name", TextFormatting.DARK_RED));
8383

84-
openWindow.write(Type.COMPONENT, TextComponentSerializer.LATEST.serializeJson(title));
84+
openWindow.write(Type.COMPONENT, TextComponentSerializer.V1_8.serializeJson(title));
8585
openWindow.write(Type.UNSIGNED_BYTE, (short) 420);
8686
PacketUtil.sendPacket(openWindow, Protocol1_8To1_9.class);
8787

0 commit comments

Comments
 (0)