mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-27 21:22:56 +00:00
Don't add deobfuscated dependencies to the FML reparseable coremod collection
fixes #207
This commit is contained in:
1 parent
039d1f6d0b
commit
aae377c1ba
1 file changed
+9
-1
+9
-1
@@ -177,11 +177,19 @@ public class MixinPlatformAgentFML extends MixinPlatformAgentAbstract {
|
||||
MixinPlatformAgentAbstract.logger.catching(ex);
|
||||
}
|
||||
|
||||
if (this.attributes.get(MixinPlatformAgentFML.MFATT_COREMODCONTAINSMOD) != null) {
|
||||
if (this.attributes.get(MixinPlatformAgentFML.MFATT_COREMODCONTAINSMOD) != null) {
|
||||
if (this.isIgnoredReparseable()) {
|
||||
MixinPlatformAgentAbstract.logger.debug("Ignoring request to add {} to reparseable coremod collection - it is a deobfuscated dependency", this.fileName);
|
||||
return;
|
||||
}
|
||||
this.addReparseableJar();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isIgnoredReparseable() {
|
||||
return this.container.toString().contains("deobfedDeps");
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by {@link #loadAsMod} if the "fml core plugin contains fml mod" is
|
||||
* set, adds this container to the "reparsable coremods" collection.
|
||||
|
||||
Reference in new issue
Block a user