Skip to content

Commit fb6ba1b

Browse files
committed
Fix mc version being appended twice
1 parent bb34168 commit fb6ba1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildSrc/src/main/groovy/multiloader-common.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jar {
9191
processResources {
9292
def expandProps = [
9393
// Mod info
94-
"mod_version": "${mod_version}+${minecraft_version}",
94+
"mod_version": mod_version,
9595
"mod_group": mod_group,
9696
"mod_id": mod_id,
9797
"mod_id_neoforge": mod_id.replace('-', '_'),
@@ -100,9 +100,9 @@ processResources {
100100
"mod_icon": "assets/${mod_id}/icon.png",
101101
"mod_owner": mod_owner,
102102
"mod_authors_list": asJsonList(mod_authors),
103-
"mod_authors_string": mod_authors.replace(",", ", "),
103+
"mod_authors_string": mod_authors.split(",").join(", "),
104104
"mod_contributors_list": asJsonList("${mod_contributors},${mod_translators}"),
105-
"mod_contributors_string": "${mod_contributors},${mod_translators}".replace(",", ", "),
105+
"mod_contributors_string": "${mod_contributors},${mod_translators}".split(",").join(", "),
106106
"mod_license": mod_license,
107107
// Links
108108
"homepage_url": homepage_url,

0 commit comments

Comments
 (0)