From 9ca14b7565c7fedd0d80014873dfe8ff48a203a9 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 6 Feb 2022 16:36:52 +0100 Subject: [PATCH] Fix Forgemods Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/listeners/mods/Forge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/listeners/mods/Forge.java b/src/de/steamwar/bungeecore/listeners/mods/Forge.java index e94d21d..cb88649 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/Forge.java +++ b/src/de/steamwar/bungeecore/listeners/mods/Forge.java @@ -108,6 +108,7 @@ public class Forge extends BasicListener { event.getConnection().disconnect(TextComponent.fromLegacyText("Invalid forge registry response (0x00)")); return; } + pos += channelLength.value; Utils.VarInt length = Utils.readVarInt(data, pos); pos += length.length;