Feature/349 items actions macro use (#356)

* Added itemUse macro on drag to hotbar

* Fixed item.type logic

* Added support for actionMacro drag from items

* Added MacroDrag for Attacks

* Fixed so UseItem macros get the img set
This commit is contained in:
WBHarry 2025-07-17 19:03:54 +02:00 committed by GitHub
parent d7e024be02
commit f15483c722
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 181 additions and 5 deletions

View file

@ -135,8 +135,8 @@ export const registerCountdownHooks = () => {
if (application) {
foundry.applications.instances.get(application)?.render();
} else {
foundry.applications.instances.get('narrative-countdowns').render();
foundry.applications.instances.get('encounter-countdowns').render();
foundry.applications.instances.get('narrative-countdowns')?.render();
foundry.applications.instances.get('encounter-countdowns')?.render();
}
return false;