This commit is contained in:
FalsePattern committed 2022-04-17 19:49:52 +02:00
1 parent ccbfe08611
commit 298c097079
2 files changed
+2 -6

No files matched your search

@@ -51,7 +51,7 @@ public interface IMixinPlugin extends IMixinConfigPlugin {
val isDevelopmentEnvironment = (boolean) Launch.blackboard.get("fml.deobfuscatedEnvironment");
val targetedMods = getTargetedModEnumValues();
val loadedMods = Arrays.stream(targetedMods)
.filter(mod -> (mod.getLoadInDevelopment() && isDevelopmentEnvironment)
.filter(mod -> (mod.isLoadInDevelopment() && isDevelopmentEnvironment)
|| loadJarOf(mod))
.collect(Collectors.toList());