Merged with main

This commit is contained in:
WBHarry 2026-03-26 16:17:23 +01:00
commit 4319fbabb9
11 changed files with 88 additions and 12 deletions

View file

@ -94,8 +94,9 @@ class ResourcesField extends fields.TypedObjectField {
const resources = CONFIG.DH.RESOURCE[this.actorType].all;
if (first in resources) {
this.element.label = resources[first].label;
return this.element._getField(path);
const field = this.element._getField(path);
field.label = resources[first].label;
return field;
}
return undefined;