diff --git a/js/entity/UnknownKeysEntity.js b/js/entity/UnknownKeysEntity.js index 2f21fc4..f90b427 100644 --- a/js/entity/UnknownKeysEntity.js +++ b/js/entity/UnknownKeysEntity.js @@ -11,6 +11,10 @@ export default class UnknownKeysEntity extends IEntity { }, } + static { + this.cleanupAttributes(this.attributes) + } + constructor(values) { super(values) /** @type {String} */ this.lookbehind diff --git a/js/entity/VariableReferenceEntity.js b/js/entity/VariableReferenceEntity.js index f57987a..4c47d17 100755 --- a/js/entity/VariableReferenceEntity.js +++ b/js/entity/VariableReferenceEntity.js @@ -18,6 +18,10 @@ export default class VariableReferenceEntity extends IEntity { }, } + static { + this.cleanupAttributes(this.attributes) + } + constructor(values) { super(values) /** @type {String} */ this.MemberName diff --git a/js/entity/Vector2DEntity.js b/js/entity/Vector2DEntity.js index 7b1df3e..2445089 100644 --- a/js/entity/Vector2DEntity.js +++ b/js/entity/Vector2DEntity.js @@ -7,6 +7,10 @@ export default class Vector2DEntity extends IEntity { Y: 0, } + static { + this.cleanupAttributes(this.attributes) + } + constructor(values) { super(values) /** @type {Number} */ this.X diff --git a/js/entity/VectorEntity.js b/js/entity/VectorEntity.js index 451327c..f4c2c11 100644 --- a/js/entity/VectorEntity.js +++ b/js/entity/VectorEntity.js @@ -8,6 +8,10 @@ export default class VectorEntity extends IEntity { Z: 0, } + static { + this.cleanupAttributes(this.attributes) + } + constructor(values) { super(values) /** @type {Number} */ this.X