From 58f66625f742de05cf894661aef772c56976804e Mon Sep 17 00:00:00 2001 From: memelotsqui Date: Thu, 6 Jun 2024 20:51:20 -0600 Subject: [PATCH] fix null trait.type --- src/library/CharacterManifestData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/CharacterManifestData.js b/src/library/CharacterManifestData.js index 71490d87..80ce0ede 100644 --- a/src/library/CharacterManifestData.js +++ b/src/library/CharacterManifestData.js @@ -700,7 +700,7 @@ class ModelTrait{ } const restrictedTypes = this.manifestData.restrictedTypes; - traitTypes = getAsArray(trait.type); + traitTypes = getAsArray(this.type); this.type.forEach(type => { return haveCommonValue(restrictedTypes[type], traitTypes) });