From 6a66d7653f43fd0b7a125055ce36212e0d644efd Mon Sep 17 00:00:00 2001 From: KennyTV Date: Fri, 18 Jun 2021 16:39:56 +0200 Subject: [PATCH] Fix writable book id --- .../protocols/protocol1_17_1to1_17/Protocol1_17_1To1_17.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_17_1to1_17/Protocol1_17_1To1_17.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_17_1to1_17/Protocol1_17_1To1_17.java index f3d029361..88ffb005d 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_17_1to1_17/Protocol1_17_1To1_17.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_17_1to1_17/Protocol1_17_1To1_17.java @@ -75,7 +75,7 @@ public class Protocol1_17_1To1_17 extends AbstractProtocol { CompoundTag tag = new CompoundTag(); - Item item = new DataItem(825, (byte) 1, (short) 0, tag); // Magic value for writable books + Item item = new DataItem(942, (byte) 1, (short) 0, tag); // Magic value for writable books // Write the item, edit the tag down the line wrapper.write(Type.FLAT_VAR_INT_ITEM, item);