Fix unique variants

This commit is contained in:
kvan7
2025-09-14 21:16:25 -05:00
parent 84956a97f5
commit 6a503b563e
12 changed files with 43 additions and 10 deletions

View File

@@ -1476,6 +1476,10 @@ function parseStatsFromMod(
const statIterator = linesToStatStrings(lines);
let stat = statIterator.next();
while (!stat.done) {
if (item.info.refName === "From Nothing") {
stat.value.string = stat.value.string.replace("()", "");
}
const parsedStat = tryParseTranslation(stat.value, modifier.info.type);
if (parsedStat) {
modifier.stats.push(parsedStat);