Skip to content

Commit

Permalink
Fixed gdamn
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Sep 10, 2024
1 parent c6c906b commit 4568e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ export function ensureValidIds(actor, itemsToCreate) {

return itemsToCreate.map(data => {
const item = data?.item ?? data;
if (!item.system || !item.type) return data;
const handler = getItemTypeHandler(CONSTANTS.ITEM_TYPE_METHODS.IS_CONTAINED);
if (handler && handler({ item })) {
const path = getItemTypeHandler(CONSTANTS.ITEM_TYPE_METHODS.IS_CONTAINED_PATH);
Expand Down

0 comments on commit 4568e36

Please sign in to comment.