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() {
51
51
val isDevelopmentEnvironment = (boolean ) Launch .blackboard .get ("fml.deobfuscatedEnvironment" );
52
52
val targetedMods = getTargetedModEnumValues ();
53
53
val loadedMods = Arrays .stream (targetedMods )
54
- .filter (mod -> (mod .getLoadInDevelopment () && isDevelopmentEnvironment )
54
+ .filter (mod -> (mod .isLoadInDevelopment () && isDevelopmentEnvironment )
55
55
|| loadJarOf (mod ))
56
56
.collect (Collectors .toList ());
57
57
Original file line number Diff line number Diff line change 1
1
package com .falsepattern .lib .mixin ;
2
2
3
3
import 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 ;
8
4
9
5
import java .nio .file .Path ;
10
6
import java .util .function .Predicate ;
@@ -22,7 +18,7 @@ static Predicate<String> matches(String regex) {
22
18
23
19
String getModName ();
24
20
Predicate <String > getCondition ();
25
- boolean getLoadInDevelopment ();
21
+ boolean isLoadInDevelopment ();
26
22
27
23
default boolean isMatchingJar (Path path ) {
28
24
String pathString = path .toString ();
You can’t perform that action at this time.
0 commit comments