Closed krbz999 closed 2 weeks ago
Dragging a table to the hotbar creates a macro such as this:
const table = await fromUuid("RollTable.ARNbJ5b3oQVZNN0p"); await table.draw({roll: true, displayChat: true});
Since roll should be an instance of Roll, this is nonsense, and displayChat: true is the default anyway.
roll
Roll
displayChat: true
I suggest changing to this:
const table = await fromUuid("RollTable.ARNbJ5b3oQVZNN0p"); await table.draw({rollMode: CONST.DICE_ROLL_MODES.PRIVATE});
or simply table.draw() with no options.
table.draw()
Drag a table to the hotbar.
11.315
No response
What happened?
Dragging a table to the hotbar creates a macro such as this:
Since
roll
should be an instance ofRoll
, this is nonsense, anddisplayChat: true
is the default anyway.I suggest changing to this:
or simply
table.draw()
with no options.What ways of accessing Foundry can you encounter this issue in?
Reproduction Steps
Drag a table to the hotbar.
What core version are you reporting this for?
11.315
Relevant log output
No response
Bug Checklist