Skip to content

Commit

Permalink
add check for isSuppressed (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelad02 authored Jan 14, 2022
1 parent 69b354b commit 42dbb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reminders.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BaseReminder {
_getActiveEffectKeys(actor) {
return actor
? actor.effects
.filter((effect) => !effect.data.disabled)
.filter((effect) => !effect.isSuppressed && !effect.data.disabled)
.flatMap((effect) => effect.data.changes)
.map((change) => change.key)
.filter((key) => key.startsWith("flags.midi-qol."))
Expand Down

0 comments on commit 42dbb06

Please sign in to comment.