[CHANGE] Allow null jarVersion to remove version from output jar name

This commit is contained in:
2023-11-04 02:08:03 +02:00
parent 6128d47b0f
commit f5b833627b

View File

@@ -70,7 +70,7 @@ public class FusionerExtension {
mergedJarName = "MergedJar";
}
if (jarVersion == null || jarVersion.isEmpty()) {
if (jarVersion.isEmpty()) {
if (ModFusionerPlugin.rootProject.hasProperty("version") && ModFusionerPlugin.rootProject.property("version") != null) {
jarVersion = ModFusionerPlugin.rootProject.property("version").toString();
} else {