Skip to content

Commit

Permalink
Fixed shift-clicking potions into potion bags' last slot
Browse files Browse the repository at this point in the history
  • Loading branch information
zabi94 committed Nov 16, 2023
1 parent 19b0a31 commit 96e5262
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public ItemStack quickMove(PlayerEntity player, int index) {
}

private ItemStack transferToBag(PlayerEntity player, int index) {
return mergeAndUpdate(player, this.slots.get(index), index, 1, 18, false);
return mergeAndUpdate(player, this.slots.get(index), index, 1, 19, false);
}

private ItemStack transferToPlayer(PlayerEntity player, int index) {
Expand Down

0 comments on commit 96e5262

Please sign in to comment.