Merge remote-tracking branch 'origin/main' into 1.18

This commit is contained in:
embeddedt 2023-05-21 20:08:28 -04:00
commit 117febba6d
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -24,6 +24,7 @@ import org.embeddedt.modernfix.world.IntegratedWatchdog;
import java.lang.management.ManagementFactory; import java.lang.management.ManagementFactory;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.*; import java.util.*;
import java.util.concurrent.CopyOnWriteArrayList;
public class ModernFixClient { public class ModernFixClient {
public static long worldLoadStartTime; public static long worldLoadStartTime;
@ -38,7 +39,7 @@ public class ModernFixClient {
/** /**
* The list of loaded client integrations. * The list of loaded client integrations.
*/ */
public static List<ModernFixClientIntegration> CLIENT_INTEGRATIONS = new ArrayList<>(); public static List<ModernFixClientIntegration> CLIENT_INTEGRATIONS = new CopyOnWriteArrayList<>();
public ModernFixClient() { public ModernFixClient() {
// clear reserve as it's not needed // clear reserve as it's not needed