This commit is contained in:
Dapoolp 2025-07-24 15:28:43 +02:00
parent 17dd9b1f61
commit 479e147640
25 changed files with 339 additions and 289 deletions

View file

@ -125,7 +125,7 @@ export default class DHItem extends foundry.documents.Item {
async use(event) {
const actions = this.system.actionsList;
if (actions?.size) {
let action = actions.contents[0];
let action = actions.first(0);
if (actions.size > 1 && !event?.shiftKey) {
// Actions Choice Dialog
action = await this.selectActionDialog(event);