From 77ef799f10bf076d34b7373614e646a86f9be398 Mon Sep 17 00:00:00 2001 From: draconas1 Date: Sun, 18 Aug 2024 22:05:57 +0100 Subject: [PATCH] Update item-document.js I think this fixes 379 - console.log had been typoed to consume.log However I am doing this on the github web interface so coding a bit blind! I don't know if it had been the only problem as I can't test it. --- module/item/item-document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/item/item-document.js b/module/item/item-document.js index 207927c9..832409a6 100644 --- a/module/item/item-document.js +++ b/module/item/item-document.js @@ -811,7 +811,7 @@ export default class Item4e extends Item { const consume = itemData.consume || {}; if ( !consume.type ) return true; const actor = this.actor; - consume.log(CONFIG.DND4E.abilityConsumptionTypes[consume.type]) + console.log(CONFIG.DND4E.abilityConsumptionTypes[consume.type]) const typeLabel = CONFIG.DND4E.abilityConsumptionTypes[consume.type]; const amount = parseInt(consume.amount) || parseInt(consume.amount) === 0 ? parseInt(consume.amount) : 1;