diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/optional/OptionalView.java b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/optional/OptionalView.java index 33362f03..ec9fe859 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/optional/OptionalView.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/profiles/optional/OptionalView.java @@ -165,7 +165,7 @@ public void disable(OptionalFile file, BiConsumer callbac } } } - if (file.xorConflict != null) { + if (file.xorConflict != null && file.xorConflict.length != 0) { if (Arrays.stream(file.xorConflict).noneMatch(this::isEnabled)) { enable(file.xorConflict[0], false, callback); }