diff --git a/Plan/common/src/main/java/com/djrapitops/plan/settings/config/ConfigNode.java b/Plan/common/src/main/java/com/djrapitops/plan/settings/config/ConfigNode.java index 763c4128d..4df36bc91 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/settings/config/ConfigNode.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/settings/config/ConfigNode.java @@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.util.*; +import java.util.concurrent.CopyOnWriteArrayList; import java.util.stream.Collectors; /** @@ -54,7 +55,7 @@ public class ConfigNode { this.parent = parent; this.value = value; - nodeOrder = new ArrayList<>(); + nodeOrder = new CopyOnWriteArrayList<>(); childNodes = new HashMap<>(); comment = new ArrayList<>(); }