From de384830dcba586fcf2c1c4fb162a4d738f20a54 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Sun, 30 Jun 2024 13:11:14 +0200 Subject: [PATCH] fix: Fix shift-clicking in auto sieve not filling last hotbar slot #342 --- .../java/net/blay09/mods/excompressum/menu/AutoSieveMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/main/java/net/blay09/mods/excompressum/menu/AutoSieveMenu.java b/shared/src/main/java/net/blay09/mods/excompressum/menu/AutoSieveMenu.java index 665f707c..8e9650e4 100644 --- a/shared/src/main/java/net/blay09/mods/excompressum/menu/AutoSieveMenu.java +++ b/shared/src/main/java/net/blay09/mods/excompressum/menu/AutoSieveMenu.java @@ -54,7 +54,7 @@ public ItemStack quickMoveStack(Player player, int slotNumber) { ItemStack slotStack = slot.getItem(); itemStack = slotStack.copy(); if (slotNumber <= 21) { - if (!moveItemStackTo(slotStack, 22, 57, true)) { + if (!moveItemStackTo(slotStack, 22, 58, true)) { return ItemStack.EMPTY; } } else if (autoSieve.getBackingContainer().canPlaceItem(0, slotStack)) {