mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-05 01:59:40 +01:00
parent
c9142223fd
commit
9ee548b967
@ -102,6 +102,11 @@ public final class Protocol1_17_1To1_17 extends AbstractProtocol<ClientboundPack
|
|||||||
pagesTag.add(new StringTag(page));
|
pagesTag.add(new StringTag(page));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Legacy servers don't like an empty pages list
|
||||||
|
if (pagesTag.size() == 0) {
|
||||||
|
pagesTag.add(new StringTag(""));
|
||||||
|
}
|
||||||
|
|
||||||
tag.put("pages", pagesTag);
|
tag.put("pages", pagesTag);
|
||||||
|
|
||||||
if (wrapper.read(Type.BOOLEAN)) {
|
if (wrapper.read(Type.BOOLEAN)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user