From 3cbc269c201555131192ab49e3401ec8ad1b890e Mon Sep 17 00:00:00 2001 From: bundabrg Date: Wed, 9 Dec 2020 11:38:38 +0800 Subject: [PATCH] Fix for Geyser PR1640 References: https://github.com/GeyserMC/Geyser/pull/1640 --- .../geyser/reversion/server/GeyserUpstreamPacketHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geyser-reversion/src/main/java/au/com/grieve/geyser/reversion/server/GeyserUpstreamPacketHandler.java b/geyser-reversion/src/main/java/au/com/grieve/geyser/reversion/server/GeyserUpstreamPacketHandler.java index 308677a..44c6e11 100644 --- a/geyser-reversion/src/main/java/au/com/grieve/geyser/reversion/server/GeyserUpstreamPacketHandler.java +++ b/geyser-reversion/src/main/java/au/com/grieve/geyser/reversion/server/GeyserUpstreamPacketHandler.java @@ -124,7 +124,7 @@ public boolean handle(LoginPacket loginPacket) { ResourcePacksInfoPacket resourcePacksInfo = new ResourcePacksInfoPacket(); for (ResourcePack resourcePack : ResourcePack.PACKS.values()) { ResourcePackManifest.Header header = resourcePack.getManifest().getHeader(); - resourcePacksInfo.getResourcePackInfos().add(new ResourcePacksInfoPacket.Entry(header.getUuid().toString(), header.getVersionString(), resourcePack.getFile().length(), "", "", "", false)); + resourcePacksInfo.getResourcePackInfos().add(new ResourcePacksInfoPacket.Entry(header.getUuid().toString(), header.getVersionString(), resourcePack.getFile().length(), "", "", "", false, false)); } resourcePacksInfo.setForcedToAccept(GeyserConnector.getInstance().getConfig().isForceResourcePacks()); session.sendUpstreamPacket(resourcePacksInfo);