mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
This commit is contained in:
parent
5a7d1d204c
commit
9ce66e93fb
3 changed files with 3 additions and 3 deletions
|
|
@ -111,7 +111,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
return actorData;
|
||||
}
|
||||
|
||||
async use(event, options) {
|
||||
async use(event, options = {}) {
|
||||
if (!this.actor) throw new Error("An Action can't be used outside of an Actor context.");
|
||||
|
||||
if (this.chatDisplay) await this.toChat();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue