mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
.
This commit is contained in:
parent
4b76223e45
commit
de9a66e1bc
36 changed files with 328 additions and 116 deletions
|
|
@ -445,3 +445,11 @@ export function itemIsIdentical(a, b) {
|
|||
|
||||
return compendiumSource && name & description;
|
||||
}
|
||||
|
||||
export function waitForDiceSoNice(message, update) {
|
||||
if (game.modules.get('dice-so-nice')?.active) {
|
||||
game.dice3d.waitFor3DAnimationByMessageID(message.id).then(async () => await update());
|
||||
} else {
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue