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 b21080d7..66f4cf9a 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 @@ -116,6 +116,7 @@ public void disable(OptionalFile file) { public void enable(OptionalFile file, boolean manual, BiConsumer callback) { if(enabled.contains(file)) return; + enabled.add(file); if(callback != null) callback.accept(file, true); OptionalFileInstallInfo installInfo = this.installInfo.get(file); if(installInfo == null) {