no constructor (it works now)

This commit is contained in:
Jess H 2024-06-03 23:10:40 +01:00
parent 3d6068c60c
commit 72d948d1d4
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19
2 changed files with 3 additions and 1 deletions

View file

@ -50,6 +50,8 @@ public class BaseBand {
updater.populate(); updater.populate();
} }
FeatureManager.get().init();
new Thread(() -> { new Thread(() -> {
Lock lock = new Lock(); Lock lock = new Lock();
while (enabled) { while (enabled) {

View file

@ -89,7 +89,7 @@ public class FeatureManager {
private FeatureManager() { public void init() {
ArrayList<Feature> filteredFeatures = new ArrayList<>(Arrays.asList(Features)); ArrayList<Feature> filteredFeatures = new ArrayList<>(Arrays.asList(Features));
for (int i = 0; i < filteredFeatures.size(); i++) { for (int i = 0; i < filteredFeatures.size(); i++) {
Feature value = filteredFeatures.get(i); Feature value = filteredFeatures.get(i);