mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-24 08:21:23 +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));
|
||||
}
|
||||
|
||||
// Legacy servers don't like an empty pages list
|
||||
if (pagesTag.size() == 0) {
|
||||
pagesTag.add(new StringTag(""));
|
||||
}
|
||||
|
||||
tag.put("pages", pagesTag);
|
||||
|
||||
if (wrapper.read(Type.BOOLEAN)) {
|
||||
|
Loading…
Reference in New Issue
Block a user