Update module/data/registeredTriggers.mjs

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
WBHarry 2026-01-16 07:40:42 +01:00 committed by GitHub
parent fe40285cc5
commit efcc8cb6d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,7 @@ export default class RegisteredTriggers extends Map {
else if (triggeringActorType === 'other' && currentActor?.uuid === actorUuid) continue;
}
for (let command of commands) {
for (const command of commands) {
try {
if (CONFIG.debug.triggers) {
const item = await foundry.utils.fromUuid(itemUuid);