Skip to content

Commit

Permalink
Merge pull request #17 from xdy-forks/xdy-patch-2
Browse files Browse the repository at this point in the history
Fix checkSpecialCases in processCharacterItems
  • Loading branch information
ChasarooniZ authored Nov 28, 2024
2 parents 401920e + 87700f3 commit 548ddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function processCharacterItems(character, total, diff, situation) {
const relevantItems = character.items.contents.filter(it => checkSpecialCases(it) || isItemRelevant(it, total, diff, situation));

for (const item of relevantItems) {
if (checkSpecialCases(it)) {
if (checkSpecialCases(item)) {
//specialCases.push(() => handleSpecialCase(item, total, diff, situation));
specialCases.push(item)
await handleSpecialCase(item, total, diff, situation)
Expand Down

0 comments on commit 548ddec

Please sign in to comment.