From ade6480166cf34132936e916f4c70800fa63a274 Mon Sep 17 00:00:00 2001 From: Juan Cruz Linsalata <25271111+linsaftw@users.noreply.github.com> Date: Fri, 2 Jul 2021 09:02:40 -0300 Subject: [PATCH] Update 0028-Apply-packet-limits.patch --- Waterfall-Proxy-Patches/0028-Apply-packet-limits.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Waterfall-Proxy-Patches/0028-Apply-packet-limits.patch b/Waterfall-Proxy-Patches/0028-Apply-packet-limits.patch index 8d04d41..daa21e3 100644 --- a/Waterfall-Proxy-Patches/0028-Apply-packet-limits.patch +++ b/Waterfall-Proxy-Patches/0028-Apply-packet-limits.patch @@ -23,12 +23,12 @@ index 7dbbfd3c..00f387d8 100644 + + @Override + public int expectedMaxLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { -+ return 5 + ((255 * 4 + 3) + 5) + 2 + 1; // FlameCord - Apply packet limits (by Janmm14) ++ return 1036 + 256; // FlameCord - Apply packet limits (by Janmm14) + } + + @Override + public int expectedMinLength(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) { -+ return 1 + 2 + 1 + 1; // FlameCord - Apply packet limits (by Janmm14) ++ return 5; // FlameCord - Apply packet limits (by Janmm14) + } } --