mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 22:44:34 +00:00
Ignore request to craft half a result in InvPanel
This commit is contained in:
1 parent
5210764001
commit
b3fa9d61c3
1 file changed
+10
@@ -102,6 +102,16 @@ public class InventoryPanelContainer extends AbstractMachineContainer<TileInvent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack decrStackSize(int p_75209_1_) {
|
||||
if (this.getHasStack()) {
|
||||
// on a right click we are asked to craft half a result. Ignore that.
|
||||
return super.decrStackSize(this.getStack().stackSize);
|
||||
}
|
||||
return super.decrStackSize(p_75209_1_);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
firstSlotCraftingGrid = inventorySlots.size();
|
||||
|
||||
Reference in new issue
Block a user