From 26d1461e462218d1c270d946a67d329e752338ed Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Mon, 23 Mar 2026 19:58:19 -0400 Subject: [PATCH] Fix removal of damage field --- module/data/fields/actionField.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/module/data/fields/actionField.mjs b/module/data/fields/actionField.mjs index ee5d221b..ffdc25cd 100644 --- a/module/data/fields/actionField.mjs +++ b/module/data/fields/actionField.mjs @@ -89,6 +89,7 @@ export class ActionField extends foundry.data.fields.ObjectField { /** @override */ _cleanType(value, options, _state) { if (!(typeof value === 'object')) value = {}; + value = super._cleanType(value, options, _state); const cls = this.getModel(value); if (cls) return cls.cleanData(value, options, _state); return value;