From 31e73355c310430ce1816009895b3eff1b5f5fc4 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 16 Mar 2023 11:51:46 -0700 Subject: [PATCH] Remove thread filter from processing clientside custom payloads. Closes @9390 --- .../client/multiplayer/ClientPacketListener.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/client/multiplayer/ClientPacketListener.java.patch b/patches/minecraft/net/minecraft/client/multiplayer/ClientPacketListener.java.patch index 4222814ad5..617af910ef 100644 --- a/patches/minecraft/net/minecraft/client/multiplayer/ClientPacketListener.java.patch +++ b/patches/minecraft/net/minecraft/client/multiplayer/ClientPacketListener.java.patch @@ -72,7 +72,7 @@ } public void m_7413_(ClientboundCustomPayloadPacket p_105004_) { -+ if (!f_104888_.m_18695_() && net.minecraftforge.network.NetworkHooks.onCustomPayload(p_105004_, this.f_104885_)) return; ++ if (net.minecraftforge.network.NetworkHooks.onCustomPayload(p_105004_, this.f_104885_)) return; PacketUtils.m_131363_(p_105004_, this, this.f_104888_); ResourceLocation resourcelocation = p_105004_.m_132042_(); FriendlyByteBuf friendlybytebuf = null;