We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94f5b1 commit ade9556Copy full SHA for ade9556
1 file changed
src/main/java/dev/isxander/controlify/compatibility/CompatMixinPlugin.java
@@ -14,7 +14,11 @@ protected CompatMixinPlugin() {
14
//? if fabric {
15
this.compatEnabled = net.fabricmc.loader.api.FabricLoader.getInstance().isModLoaded(this.getFabricModId());
16
//?} elif neoforge {
17
- /*this.compatEnabled = net.neoforged.fml.loading.LoadingModList.get().getModFileById(this.getNeoforgeModId()) != null;
+ /*//? if >=26.2 {
18
+ this.compatEnabled = net.neoforged.fml.loading.FMLLoader.getCurrent().getLoadingModList().getModFileById(this.getNeoforgeModId()) != null;
19
+ //?} else {
20
+ /^this.compatEnabled = net.neoforged.fml.loading.LoadingModList.get().getModFileById(this.getNeoforgeModId()) != null;
21
+ ^///?}
22
*///?}
23
}
24
0 commit comments