From 37bd0a50e345fdc63c5a5f73a9dead3b8fe626a8 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Mon, 8 Dec 2025 01:04:21 +0100 Subject: [PATCH] Corrected downtime prep from error state --- module/applications/dialogs/downtime.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/applications/dialogs/downtime.mjs b/module/applications/dialogs/downtime.mjs index f7bab430..96e06446 100644 --- a/module/applications/dialogs/downtime.mjs +++ b/module/applications/dialogs/downtime.mjs @@ -118,7 +118,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV if ( x.system.resource && x.system.resource.type && - refreshIsAllowed([this.shortrest ? 'shortRest' : 'longRest'], action.uses.recovery) + refreshIsAllowed([this.shortrest ? 'shortRest' : 'longRest'], x.system.resource.recovery) ) { acc.push({ title: game.i18n.localize(`TYPES.Item.${x.type}`),