no constructor (it works now)
This commit is contained in:
parent
3d6068c60c
commit
72d948d1d4
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue