diff --git a/Client/src/main/java/com/baseband/client/BaseBand.java b/Client/src/main/java/com/baseband/client/BaseBand.java index ff177f2..61a5861 100644 --- a/Client/src/main/java/com/baseband/client/BaseBand.java +++ b/Client/src/main/java/com/baseband/client/BaseBand.java @@ -50,6 +50,8 @@ public class BaseBand { updater.populate(); } + FeatureManager.get().init(); + new Thread(() -> { Lock lock = new Lock(); while (enabled) { diff --git a/Client/src/main/java/com/baseband/client/feature/FeatureManager.java b/Client/src/main/java/com/baseband/client/feature/FeatureManager.java index 9553ac3..74c6f02 100644 --- a/Client/src/main/java/com/baseband/client/feature/FeatureManager.java +++ b/Client/src/main/java/com/baseband/client/feature/FeatureManager.java @@ -89,7 +89,7 @@ public class FeatureManager { - private FeatureManager() { + public void init() { ArrayList filteredFeatures = new ArrayList<>(Arrays.asList(Features)); for (int i = 0; i < filteredFeatures.size(); i++) { Feature value = filteredFeatures.get(i);