File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Common/src/main/java/malte0811/ferritecore/mixin Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 19
19
public abstract class FerriteMixinConfig implements IMixinConfigPlugin {
20
20
protected static final Logger LOGGER = LogManager .getLogger ("ferritecore-mixin" );
21
21
private static final boolean HAS_LITHIUM ;
22
- private static final boolean HAS_ROADRUNNER ;
23
22
24
23
static {
25
- HAS_LITHIUM = hasClass ("me.jellysquid.mods.lithium.common.LithiumMod" );
26
- HAS_ROADRUNNER = hasClass ("me.jellysquid.mods.lithium.common.RoadRunner" );
24
+ HAS_LITHIUM = hasClass ("net.caffeinemc.mods.lithium.common.LithiumMod" );
27
25
}
28
26
29
27
private String prefix = null ;
@@ -143,19 +141,13 @@ private static boolean hasClass(String name) {
143
141
144
142
protected enum LithiumSupportState {
145
143
NO_CONFLICT ,
146
- INCOMPATIBLE ,
147
- APPLY_IF_ROADRUNNER ;
144
+ INCOMPATIBLE ;
148
145
149
146
private boolean shouldApply () {
150
147
return switch (this ) {
151
148
case NO_CONFLICT -> true ;
152
149
case INCOMPATIBLE -> !HAS_LITHIUM ;
153
- case APPLY_IF_ROADRUNNER -> !HAS_LITHIUM || HAS_ROADRUNNER ;
154
150
};
155
151
}
156
152
}
157
-
158
- static String test (Map <String , String > m , String k ) {
159
- return m .get (k );
160
- }
161
153
}
Original file line number Diff line number Diff line change 5
5
6
6
public class Config extends FerriteMixinConfig {
7
7
public Config () {
8
- super (FerriteConfig .THREADING_DETECTOR , LithiumSupportState .APPLY_IF_ROADRUNNER , true );
8
+ super (FerriteConfig .THREADING_DETECTOR , LithiumSupportState .INCOMPATIBLE , true );
9
9
}
10
10
}
You can’t perform that action at this time.
0 commit comments