only enable what should enable
This commit is contained in:
parent
665e23ec58
commit
5b3687a062
@ -59,6 +59,7 @@ public abstract class VillagerOptimizerModule implements Enableable, Disableable
|
||||
}
|
||||
})
|
||||
.filter(Objects::nonNull)
|
||||
.filter(VillagerOptimizerModule::shouldEnable)
|
||||
.forEach(ENABLED_MODULES::add);
|
||||
|
||||
ENABLED_MODULES.forEach(VillagerOptimizerModule::enable);
|
||||
|
Loading…
x
Reference in New Issue
Block a user