Remove thread filter from processing clientside custom payloads. Closes @9390

This commit is contained in:
LexManos committed 2023-03-16 11:51:46 -07:00
1 parent 88368dfa1c
commit 31e73355c3
1 file changed
+1 -1
@@ -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;