Skip to content

Commit

Permalink
Merge pull request #562 from Muttley/561-cant-edit-item-on-a-sheet
Browse files Browse the repository at this point in the history
Cant open power armor when on an actor sheet
  • Loading branch information
Muttley authored Dec 26, 2024
2 parents 319f305 + b32f075 commit 0d97b6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/src/sheets/FalloutItemSheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export default class FalloutItemSheet extends ItemSheet {
async getPowerArmorPieceData(context) {
if (!this.item.isOwned) return;

const item = context.item;

let availablePieces = foundry.utils.duplicate(
this.item.actor.items.filter(
i => i.system.apparelType === "powerArmor"
Expand Down

0 comments on commit 0d97b6f

Please sign in to comment.