From 77c32c7c646d3a169d802a00cc6007f3de3f1173 Mon Sep 17 00:00:00 2001 From: Outfluencer Date: Fri, 6 Sep 2024 15:54:08 +0200 Subject: [PATCH] change default limit of KnownPacks vanilla has not limit for it in latest, its limit is the limit of the collection decode so its 65535 --- .../proxy/protocol/packet/config/KnownPacksPacket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/config/KnownPacksPacket.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/config/KnownPacksPacket.java index 3a7d60cba6..154cbd6a28 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/config/KnownPacksPacket.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/config/KnownPacksPacket.java @@ -26,7 +26,7 @@ public class KnownPacksPacket implements MinecraftPacket { - private static final int MAX_LENGTH_PACKS = Integer.getInteger("velocity.max-known-packs", 64); + private static final int MAX_LENGTH_PACKS = Integer.getInteger("velocity.max-known-packs", 65536); private static final QuietDecoderException TOO_MANY_PACKS = new QuietDecoderException("too many known packs");