Skip to content

Commit

Permalink
Fixed Slabfish not dropping backpack items correctly. Fixes #133
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonhardaway committed Apr 6, 2021
1 parent 4ee573e commit 50165ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public int getSlotStackLimit(int index) {

@Override
public int getSizeInventory() {
return 3 + (this.getStackInSlot(1).getItem().isIn(Tags.Items.CHESTS_WOODEN) ? 15 : 0);
return 3 + (this.slabfish.hasBackpack() || this.getStackInSlot(1).getItem().isIn(Tags.Items.CHESTS_WOODEN) ? 15 : 0);
}

@Override
Expand Down

0 comments on commit 50165ed

Please sign in to comment.