mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-16 14:14:52 +00:00
fix
This commit is contained in:
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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user