From 6230da391f5418c880b501e32458507b8fa518fb Mon Sep 17 00:00:00 2001 From: barsdeveloper Date: Wed, 4 Jan 2023 15:53:38 +0100 Subject: [PATCH] Attribute cleanup forgot --- js/entity/UnknownKeysEntity.js | 4 ++++ js/entity/VariableReferenceEntity.js | 4 ++++ js/entity/Vector2DEntity.js | 4 ++++ js/entity/VectorEntity.js | 4 ++++ 4 files changed, 16 insertions(+) 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