Skip to content

Commit

Permalink
fix null trait.type
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Jun 7, 2024
1 parent 83ac857 commit 58f6662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/CharacterManifestData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});
Expand Down

0 comments on commit 58f6662

Please sign in to comment.