diff --git a/common/src/main/java/dev/ftb/mods/ftblibrary/config/ConfigGroup.java b/common/src/main/java/dev/ftb/mods/ftblibrary/config/ConfigGroup.java index eb3c95f1..8ff640ed 100644 --- a/common/src/main/java/dev/ftb/mods/ftblibrary/config/ConfigGroup.java +++ b/common/src/main/java/dev/ftb/mods/ftblibrary/config/ConfigGroup.java @@ -276,7 +276,10 @@ public EnumConfig addEnum(String id, E value, Consumer setter, NameMap */ public > ListConfig addList(String id, List value, CV type, E def) { type.setDefaultValue(def); - return add(id, new ListConfig<>(type), value, value::retainAll, Collections.emptyList()); + return add(id, new ListConfig<>(type), value, c -> { + value.clear(); + value.addAll(c); + }, Collections.emptyList()); } /** diff --git a/gradle.properties b/gradle.properties index 354ebd40..be95d386 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.daemon=false # Mod mod_id=ftblibrary readable_name=FTB Library -mod_version=2100.1.0 +mod_version=2100.1.1 mod_author=FTB Team # Maven