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 9a248b75..0430f34f 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 @@ -111,4 +111,10 @@ public OptionalView(ClientProfile profile) if(f.mark) enable(f); } } + public OptionalView(OptionalView view) + { + this.enabled = new HashSet<>(view.enabled); + this.dependenciesCountMap = new HashMap<>(view.dependenciesCountMap); + this.all = view.all; + } }