Skip to content

Commit 8f18d8d

Browse files
committed
Called back II
1 parent 0e39255 commit 8f18d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/simibubi/create/impl/registrate/CreateRegistrateRegistrationCallbackImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import net.minecraft.resources.ResourceLocation;
1515

1616
public class CreateRegistrateRegistrationCallbackImpl {
17-
private static final List<CallbackImpl<?>> CALLBACKS = new ArrayList<>();
17+
private static final List<CallbackImpl<?>> CALLBACKS = Collections.synchronizedList(new ArrayList<>());
1818

1919
@UnmodifiableView
2020
public static final List<CallbackImpl<?>> CALLBACKS_VIEW = Collections.unmodifiableList(CALLBACKS);

0 commit comments

Comments
 (0)