Skip to content

Commit

Permalink
fix(item): correct module ID typo (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit authored Mar 10, 2024
1 parent 87b1756 commit 53a0dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/item.js
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ async function itemConfig(itemDocument) {
}
let validTypes = ['weapon', 'equipment'];
if (game.user.isGM && validTypes.includes(itemDocument.type)) options.push(['⚡ Add Artifact Property', 'artifact']);
if (game.user.isGM && constants.attacks.includes(itemDocument.system.actionType) && game.settings.get('chris-premses', 'Flat Attack Bonus')) options.push(['🗡️ Configure Flat Attack Bonus', 'flatAttack']);
if (game.user.isGM && constants.attacks.includes(itemDocument.system.actionType) && game.settings.get('chris-premades', 'Flat Attack Bonus')) options.push(['🗡️ Configure Flat Attack Bonus', 'flatAttack']);
let selection = await chris.dialog('Item Configuration: ' + itemDocument.name, options);
if (!selection) return;
switch (selection) {

0 comments on commit 53a0dc6

Please sign in to comment.