Closed triphora closed 2 years ago
net/fabricmc/loom/configuration/ide/RunConfig.java never is patched, creating invalid run configs, for example:
net/fabricmc/loom/configuration/ide/RunConfig.java
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Minecraft Client" type="Application" factoryName="Application"> <option name="MAIN_CLASS_NAME" value="net.fabricmc.devlaunchinjector.Main" /> <module name="purpeille.main" /> <option name="PROGRAM_PARAMETERS" value="" /> <option name="VM_PARAMETERS" value="-Dfabric.dli.config=/home/acikek/Desktop/Projects/java/Mods/purpeille/.gradle/quilt-loom-cache/launch.cfg -Dfabric.dli.env=client -Dfabric.dli.main=net.fabricmc.loader.launch.knot.KnotClient" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/run/" /> <method v="2"> <option name="Make" enabled="true" /> </method> </configuration> </component>
A valid one should look something like this:
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Minecraft Client" type="Application" factoryName="Application"> <option name="MAIN_CLASS_NAME" value="net.fabricmc.devlaunchinjector.Main" /> <module name="purpeille.main" /> <option name="PROGRAM_PARAMETERS" value="" /> <option name="VM_PARAMETERS" value="-Dfabric.dli.config=/home/acikek/Desktop/Projects/java/Mods/purpeille/.gradle/quilt-loom-cache/launch.cfg -Dfabric.dli.env=client -Dfabric.dli.main=org.quiltmc.loader.impl.launch.knot.KnotClient" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/run/" /> <method v="2"> <option name="Make" enabled="true" /> </method> </configuration> </component>
Turns out this is actually incorrect -- the original should work fine, it's a different issue entirely being encountered
net/fabricmc/loom/configuration/ide/RunConfig.java
never is patched, creating invalid run configs, for example:A valid one should look something like this: