mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix edge-case regression with single-jar multiloader mods (#9931)
This commit is contained in:
1 parent
a647237db4
commit
11ed2500a6
1 file changed
+1
-1
+1
-1
@@ -75,7 +75,7 @@ public class ModFileInfo implements IModFileInfo, IConfigurable
|
||||
|
||||
// the remaining properties are optional with sensible defaults
|
||||
boolean notAForgeMod = false;
|
||||
if (modLoader.equals(JAVAFML) && modLoaderVersion.containsVersion(NOT_JAVAFML_VER)) {
|
||||
if (modLoader.equals(JAVAFML) && modLoaderVersion.hasRestrictions() && modLoaderVersion.containsVersion(NOT_JAVAFML_VER)) {
|
||||
notAForgeMod = true;
|
||||
this.properties = Map.of(NOT_A_FORGE_MOD_PROP, true);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user