Skip to content

Commit

Permalink
Update ma5e.js
Browse files Browse the repository at this point in the history
jessev14 committed Aug 25, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 023adc6 commit d51b22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ma5e.js
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ Hooks.once("setup", () => {
});

Hooks.once("ready", () => {
MA5e.registerCoreReadyHooks();
if (roller === "core") MA5e.registerCoreReadyHooks();
});


@@ -432,7 +432,7 @@ class Multiattack5e {
} else if (roller === "midi") {
const items = itemNameArray.map(name => actor.items.getName(name));
let hk;
if (game.dice3d) hk = Hooks.on("diceSoNiceRollStart", midiMA5eDSNHide);
//if (game.dice3d) hk = Hooks.on("diceSoNiceRollStart", midiMA5eDSNHide);
let i = 0;
Hooks.once("midi-qol.RollComplete", nextMidiRoll);
await items[i].roll();

0 comments on commit d51b22f

Please sign in to comment.