diff --git a/src/launchwrapper/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentFML.java b/src/launchwrapper/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentFML.java index 150dbee1..3faa5788 100644 --- a/src/launchwrapper/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentFML.java +++ b/src/launchwrapper/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentFML.java @@ -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.