Fix: l'ajout de queues fonctionne de nouveau

This commit is contained in:
Vincent Vandemeulebrouck 2022-12-17 17:59:13 +01:00
parent fd156960a7
commit 2af37cf98f

View File

@ -95,8 +95,9 @@ export class RdDRollTables {
const row = await table.getRandom(itemFrequence, filter); const row = await table.getRandom(itemFrequence, filter);
if (row) { if (row) {
await CompendiumTableHelpers.tableRowToChatMessage(row, type); await CompendiumTableHelpers.tableRowToChatMessage(row, type);
return row.document;
} }
return row; return undefined;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */