PacifistMC / Forgix

A Gradle plugin/an Architectury addon to merge mod-loaders into one jar! 𝘸𝘒𝘩𝘩 𝘡𝘦𝘀𝘩𝘯𝘰𝘭𝘰𝘨𝘺

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Tries to delete non-existent Quilt Jar

CodeF53 opened this issue Β· comments

Running the merge jars task through forgix 1.0, I get the following error:

> Task :mergeJars FAILED

Settings:
Forge: Yes
Fabric: Yes
Quilt: No
Group: net.cardinalboats
Merged Jar Name: cardinalboats_1.19_1.1.0.jar

total: 86398
total: 85365

Execution failed for task ':mergeJars'.
> Cannot invoke "java.io.File.delete()" because "this.quiltJar" is null

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':mergeJars'.
Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.delete()" because "this.quiltJar" is null
	at io.github.pacifistmc.forgix.Forgix.merge(Forgix.java:189)
	at io.github.pacifistmc.forgix.plugin.MergeJarsTask.mergeJars(MergeJarsTask.java:103)

Full stacktrace

It properly detects Quilt as not active in Architectury but still tries to do stuff with Quilt.

Here is the project that gets this issue

commented

Oops thanks for the fix!