We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e39255 commit 8f18d8dCopy full SHA for 8f18d8d
src/main/java/com/simibubi/create/impl/registrate/CreateRegistrateRegistrationCallbackImpl.java
@@ -14,7 +14,7 @@
14
import net.minecraft.resources.ResourceLocation;
15
16
public class CreateRegistrateRegistrationCallbackImpl {
17
- private static final List<CallbackImpl<?>> CALLBACKS = new ArrayList<>();
+ private static final List<CallbackImpl<?>> CALLBACKS = Collections.synchronizedList(new ArrayList<>());
18
19
@UnmodifiableView
20
public static final List<CallbackImpl<?>> CALLBACKS_VIEW = Collections.unmodifiableList(CALLBACKS);
0 commit comments