Skip to content

Commit

Permalink
Merge pull request #174 from mysurvive/Fix_Chalice_v2
Browse files Browse the repository at this point in the history
Changing effect.core.flags.sourceId to effect.sourceId
  • Loading branch information
mysurvive authored Sep 11, 2024
2 parents 9aac1cf + ce82fa6 commit 1515bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/implements/implementBenefits/chalice.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Hooks.once("init", () => {

const hasChaliceEnabled =
targetTokens[thaum.id].token.actor.itemTypes.effect.find(
(e) => e.flags.core.sourceId === CHALICE_ADEPT_ENABLED_UUID
(e) => e.sourceId === CHALICE_ADEPT_ENABLED_UUID
)?.system.expired === false;

if (
Expand Down

0 comments on commit 1515bc7

Please sign in to comment.