Skip to content

Commit

Permalink
Merge pull request #342 from jopeek/328-this_generatecurrency-is-not-…
Browse files Browse the repository at this point in the history
…a-function

fix generateCurrency call in LootProcessor
  • Loading branch information
DanielBoettner authored Jun 1, 2022
2 parents 305f86a + 414ff78 commit 624f678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/classes/LootProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@ export class LootProcessor {
let matches

while ((matches = regex.exec(tableText)) != null) {
this._addCurrency(await this._generateCurrency(matches[1]))
this._addCurrency(await CurrencyHelper.generateCurrency(matches[1]));
}

return tableText.replace(regex, '')
return tableText.replace(regex, '');
}

/**
Expand Down

0 comments on commit 624f678

Please sign in to comment.