Fix dupe glitch that was carried over from Mechanical Sieve
This commit is contained in:
parent
daf1963d39
commit
31b1023c6e
|
|
@ -62,7 +62,7 @@ public class MechanicalHammerMenu extends AbstractMachineMenu<MechanicalHammerBl
|
||||||
var clickedStack = slot.getItem();
|
var clickedStack = slot.getItem();
|
||||||
stack = clickedStack.copy();
|
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)) {
|
if (!moveItemStackTo(clickedStack, NUM_SLOTS, PLAYER_SLOTS + NUM_SLOTS, true)) {
|
||||||
return ItemStack.EMPTY;
|
return ItemStack.EMPTY;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user