From 96e5262e42cd83bf6bcced01c3b7854492da3a84 Mon Sep 17 00:00:00 2001 From: zabi94 Date: Thu, 16 Nov 2023 15:16:04 +0100 Subject: [PATCH] Fixed shift-clicking potions into potion bags' last slot --- .../extraalchemy/screen/potion_bag/PotionBagScreenHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/zabi/minecraft/extraalchemy/screen/potion_bag/PotionBagScreenHandler.java b/src/main/java/zabi/minecraft/extraalchemy/screen/potion_bag/PotionBagScreenHandler.java index 7997053..269b20f 100644 --- a/src/main/java/zabi/minecraft/extraalchemy/screen/potion_bag/PotionBagScreenHandler.java +++ b/src/main/java/zabi/minecraft/extraalchemy/screen/potion_bag/PotionBagScreenHandler.java @@ -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) {