mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-14 12:06:28 +00:00
Fix unique variants
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user