fixed a bug with a single comma not deleting

This commit is contained in:
coolGi2007
2022-04-23 19:29:40 +10:00
parent c31c27167f
commit 8621bf631b
+2 -2
View File
@@ -211,12 +211,12 @@ allprojects { p ->
authorCounter = !authorCounter
if (!authorCounter) {
currentAuthor = currentAuthor.substring(0, currentAuthor.length() - 1); // Delete the qotation mark at the end of the authors name
quiltAuthors = quiltAuthors + "\"" + currentAuthor + "\":\"Developer\"" + "," // Add the author to the string
quiltAuthors = quiltAuthors + "\"" + currentAuthor + "\":\"Developer\"," // Add the author to the string
currentAuthor = ""
}
}
}
quiltAuthors.substring(0, quiltAuthors.length() - 1); // Delete the final comma
quiltAuthors = quiltAuthors.substring(0, quiltAuthors.length() - 1); // Delete the final comma
quiltAuthors = quiltAuthors + "}";