This commit is contained in:
WBHarry 2025-11-24 23:11:18 +01:00
parent 4b76223e45
commit de9a66e1bc
36 changed files with 328 additions and 116 deletions

View file

@ -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();
}
}