From 5835676b7cb390f58a23df32f7d7d24d2576a59d Mon Sep 17 00:00:00 2001 From: Gravit Date: Sat, 12 Sep 2020 16:49:54 +0700 Subject: [PATCH] =?UTF-8?q?[FEATURE][EXPERIMENTAL]=20=D0=9A=D0=BE=D0=BD?= =?UTF-8?q?=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D0=BE=D1=80=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BF=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=83?= =?UTF-8?q?=20OptionalView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pro/gravit/launcher/profiles/optional/OptionalView.java | 6 ++++++ 1 file changed, 6 insertions(+) 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; + } }