File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/main/java/com/falsepattern/lib/mixin Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ default List<String> getMixins() {
5151 val isDevelopmentEnvironment = (boolean ) Launch .blackboard .get ("fml.deobfuscatedEnvironment" );
5252 val targetedMods = getTargetedModEnumValues ();
5353 val loadedMods = Arrays .stream (targetedMods )
54- .filter (mod -> (mod .getLoadInDevelopment () && isDevelopmentEnvironment )
54+ .filter (mod -> (mod .isLoadInDevelopment () && isDevelopmentEnvironment )
5555 || loadJarOf (mod ))
5656 .collect (Collectors .toList ());
5757
Original file line number Diff line number Diff line change 11package com .falsepattern .lib .mixin ;
22
33import com .google .common .io .Files ;
4- import lombok .val ;
5- import net .minecraft .launchwrapper .Launch ;
6- import org .apache .logging .log4j .Logger ;
7- import org .spongepowered .asm .mixin .extensibility .IMixinConfigPlugin ;
84
95import java .nio .file .Path ;
106import java .util .function .Predicate ;
@@ -22,7 +18,7 @@ static Predicate<String> matches(String regex) {
2218
2319 String getModName ();
2420 Predicate <String > getCondition ();
25- boolean getLoadInDevelopment ();
21+ boolean isLoadInDevelopment ();
2622
2723 default boolean isMatchingJar (Path path ) {
2824 String pathString = path .toString ();
You can’t perform that action at this time.
0 commit comments