Fix dupe glitch that was carried over from Mechanical Sieve

This commit is contained in:
thedarkcolour 2024-03-13 22:24:18 -07:00
parent daf1963d39
commit 31b1023c6e

View File

@ -62,7 +62,7 @@ public class MechanicalHammerMenu extends AbstractMachineMenu<MechanicalHammerBl
var clickedStack = slot.getItem();
stack = clickedStack.copy();
if (clickedSlot > 1 && clickedSlot <= NUM_SLOTS) { // moving out of output slots
if (clickedSlot > 1 && clickedSlot < NUM_SLOTS) { // moving out of output slots
if (!moveItemStackTo(clickedStack, NUM_SLOTS, PLAYER_SLOTS + NUM_SLOTS, true)) {
return ItemStack.EMPTY;
}