diff --git a/module/documents/activity/mixin.mjs b/module/documents/activity/mixin.mjs index 3e54e4f552..35215e636b 100644 --- a/module/documents/activity/mixin.mjs +++ b/module/documents/activity/mixin.mjs @@ -169,7 +169,7 @@ export default Base => class extends PseudoDocumentMixin(Base) { * @returns {Promise} Details on the usage process if not canceled. */ async use(usage={}, dialog={}, message={}) { - if ( !this.item.isEmbedded ) return; + if ( !this.item.isEmbedded || this.item.pack ) return; if ( !this.item.isOwner ) { ui.notifications.error("DND5E.DocumentUseWarn", { localize: true }); return; diff --git a/module/documents/item.mjs b/module/documents/item.mjs index 452ab35c81..e5357a0152 100644 --- a/module/documents/item.mjs +++ b/module/documents/item.mjs @@ -754,6 +754,8 @@ export default class Item5e extends SystemDocumentMixin(Item) { * activities and was posted directly to chat. */ async use(config={}, dialog={}, message={}) { + if ( this.pack ) return; + let event = config.event; if ( config.legacy !== false ) { foundry.utils.logCompatibilityWarning(