Skip to content

Commit

Permalink
fix: substantial satchel does not open in curio slot
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Sep 16, 2024
1 parent 27b6e5a commit 776fcf1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ public AbstractSatchelContainer(@Nullable MenuType<?> menuType, int id, Inventor

if (this.selectedSlot == -1) {
this.satchelStack = CuriosUtil.getBackpack(playerInventory.player);
} else {
this.satchelStack = playerInventory.player.getInventory().getItem(this.selectedSlot).copy();
}

this.satchelStack = playerInventory.player.getInventory().getItem(this.selectedSlot).copy();

this.setupSatchelSlots();
this.setupPlayerInventorySlots();
Expand Down

0 comments on commit 776fcf1

Please sign in to comment.