Skip to content

Commit

Permalink
Merge pull request #112 from etiquettestartshere/4.0.3
Browse files Browse the repository at this point in the history
4.0.4
  • Loading branch information
etiquettestartshere authored Sep 18, 2024
2 parents 448196b + 1b8611e commit 4cbda93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "effectivetray",
"title": "Effective Tray",
"version": "4.0.3",
"version": "4.0.4",
"compatibility": {
"minimum": "12",
"verified": "12"
Expand Down
1 change: 1 addition & 0 deletions scripts/effective-tray.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class EffectiveTray {
if (message.getFlag("dnd5e", "messageType") === "usage") {
effects = message?.getFlag("dnd5e", "use.effects")?.map(id => item?.effects.get(id))
} else {
if (message.getFlag("dnd5e", "roll.type")) return;
effects = item?.effects.filter(e => (e.type !== "enchantment") && !e.getFlag("dnd5e", "rider"));
}
effects = effects?.filter(e => !e.transfer);
Expand Down

0 comments on commit 4cbda93

Please sign in to comment.