diff --git a/src/module/macros.js b/src/module/macros.js index 259d946..8ce7b75 100644 --- a/src/module/macros.js +++ b/src/module/macros.js @@ -17,7 +17,7 @@ export async function createAcksMacro(data, slot) { // Create the macro command const command = `game.acks.rollItemMacro("${item.name}");`; - let macro = game.macros.entities.find(m => (m.name === item.name) && (m.command === command)); + let macro = game.macros.find(m => (m.name === item.name) && (m.command === command)); if ( !macro ) { macro = await Macro.create({ name: item.name,