CrucibleMC/Grimoire-legacy

Omniconfig Issues

Closed this issue · 1 comments

String lists are occasionally dropped and restored to their default value with no reason at all, at least when using them through annotation config.

Hi! The config is overwritten every time it is registered... This is annoying.
cfg code:

@AnnotationConfig
public class AIMConfiguration {
@ConfigStringCollection(sync = true, name = "disabledModules")
public static List disabledModules = new ArrayList<>();
}

in the config I insert IC2 - after OmniconfigAPI.registerAnnotationConfig it disappears.