diff --git a/system/api/def/base-definition-class.js b/system/api/def/base-definition-class.js index 8c93de69..a9f11e60 100644 --- a/system/api/def/base-definition-class.js +++ b/system/api/def/base-definition-class.js @@ -43,7 +43,7 @@ export class BaseDefinitionClass { // If mods are enabled, check for a modification to the definition if (this.modsEnabled) { const checkModification = modifications.filter(definition => definition.id === key) - + // If there are modifications, update the value's properties if (checkModification.length > 0) { value.rename = checkModification[0].rename diff --git a/system/api/def/were-forms.js b/system/api/def/were-forms.js index 25b4e2a3..6aa93f46 100644 --- a/system/api/def/were-forms.js +++ b/system/api/def/were-forms.js @@ -4,7 +4,7 @@ import { BaseDefinitionClass } from './base-definition-class.js' export class WereForms extends BaseDefinitionClass { // Override the initializeLabels method to add extra functionality - static initializeLabels() { + static initializeLabels () { super.initializeLabels() for (const [, value] of Object.entries(this)) {