Skip to content

Commit

Permalink
Slightly adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Dec 19, 2023
1 parent 36c2bb1 commit 092acc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/pile-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function canItemStack(item, targetActor) {
const itemData = item instanceof Item ? item.toObject() : item;
const itemFlagData = getItemFlagData(itemData);
const actorFlagData = getActorFlagData(targetActor);
if (actorFlagData.type === CONSTANTS.PILE_TYPES.VAULT && itemFlagData.vaultExpander) {
if (actorFlagData.enabled && actorFlagData.type === CONSTANTS.PILE_TYPES.VAULT && itemFlagData.vaultExpander) {
return false;
}
if (isItemCurrency(itemData, { target: targetActor })) return true;
Expand Down

0 comments on commit 092acc8

Please sign in to comment.