Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rughalt committed Dec 14, 2021
1 parent 256a256 commit dbf4f0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 36 deletions.
2 changes: 1 addition & 1 deletion module/item/entity.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export class ItemPF extends Item {

console.log('Should be true/false, is true true', data, this.data.data.active)

for (var key in expandedData.data.customAttributes) {
for (var key in expandedData?.data?.customAttributes) {
if (data[`data.customAttributes.-=${key}`] == null) continue;
if (expandedData.data.customAttributes.hasOwnProperty(key)) {
let customAttribute = expandedData.data.customAttributes[key];
Expand Down
Loading

0 comments on commit dbf4f0f

Please sign in to comment.