We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c7551 commit b5319dbCopy full SHA for b5319db
common/src/main/java/com/viaversion/viabackwards/protocol/v1_17_1to1_17/Protocol1_17_1To1_17.java
@@ -102,6 +102,12 @@ protected void registerPackets() {
102
boolean signing = wrapper.read(Types.BOOLEAN);
103
wrapper.passthrough(Types.VAR_INT); // Slot comes first
104
105
+ if (item == null) {
106
+ wrapper.write(Types.VAR_INT, 0); // Pages length
107
+ wrapper.write(Types.BOOLEAN, false); // Optional title
108
+ return;
109
+ }
110
+
111
CompoundTag tag = item.tag();
112
ListTag<StringTag> pagesTag;
113
StringTag titleTag = null;
0 commit comments