From 4f23b6f982b2cba63255e7ea46b223ae563ba377 Mon Sep 17 00:00:00 2001 From: Dennis C Date: Mon, 26 Aug 2024 06:43:56 +0200 Subject: [PATCH] [1.21] Fix PayloadRegistrar constructor not copying the handler thread (#1489) --- .../neoforge/network/registration/PayloadRegistrar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/neoforged/neoforge/network/registration/PayloadRegistrar.java b/src/main/java/net/neoforged/neoforge/network/registration/PayloadRegistrar.java index 2e1dee20b0..366e9c8b50 100644 --- a/src/main/java/net/neoforged/neoforge/network/registration/PayloadRegistrar.java +++ b/src/main/java/net/neoforged/neoforge/network/registration/PayloadRegistrar.java @@ -35,6 +35,7 @@ public PayloadRegistrar(String version) { private PayloadRegistrar(PayloadRegistrar source) { this.version = source.version; this.optional = source.optional; + this.thread = source.thread; } /**