Open yjeroen opened 1 week ago
Handlebars.registerHelper('label', function (fieldPath) {
try {
if (this.system?.schema?.getField(fieldPath)?.label)
return this.system?.schema?.getField(fieldPath)?.label;
else
throw new Error();
} catch (e) {
console.warn(`Handlebars Helper | Error during label creation of '${fieldPath}'`);
return fieldPath;
}
});
Reworked header.hbs as well, altough it should get a rework of the
base-actor model - add line:
actor-npc model:
character-npc model:
en.json: