From fb308c6b503694f2d12ad1331517eec27ea7b41d Mon Sep 17 00:00:00 2001 From: Paul Maskelyne Date: Fri, 29 Nov 2024 13:44:51 +0000 Subject: [PATCH] fixes #964 --- RELEASE_NOTES.md | 10 ++++++++++ system/src/system/ActiveEffectsSD.mjs | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0a7a9793..bfe63304 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,13 @@ +# vX.X.X + +## Bugs +* [#964] Unable to edit/modify active effects on Items + +## Chores +* [#962] Merged "Portuguese, Brazilian" translation updates from Crowdin + +--- + # v3.2.0 ## Enhancements diff --git a/system/src/system/ActiveEffectsSD.mjs b/system/src/system/ActiveEffectsSD.mjs index a46fe391..9a9c4d65 100644 --- a/system/src/system/ActiveEffectsSD.mjs +++ b/system/src/system/ActiveEffectsSD.mjs @@ -378,7 +378,7 @@ export default class ActiveEffectsSD { } else if (owner.documentName === "Item") { effect = effectId - ? owner.transferredEffects.find(effect => effect.id === effectId) + ? owner.effects.find(effect => effect.id === effectId) : null; }