diff options
| author | Maxim <maxim235@gmx.de> | 2022-11-04 19:36:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-04 19:36:06 +0100 |
| commit | 939ab58956c0f31b7d7bd4f44257094fdf268f77 (patch) | |
| tree | d14970ebed7c845deace0be7f4374ba5e3b5dd4e /src/main/java/gregtech/common | |
| parent | ff0d866d21867de47f9d14e57f95f3edd27cf6ca (diff) | |
| download | GT5-Unofficial-939ab58956c0f31b7d7bd4f44257094fdf268f77.tar.gz GT5-Unofficial-939ab58956c0f31b7d7bd4f44257094fdf268f77.tar.bz2 GT5-Unofficial-939ab58956c0f31b7d7bd4f44257094fdf268f77.zip | |
Overwrite setStackToZeroInsteadOfNull in me input bus (#1504)
Diffstat (limited to 'src/main/java/gregtech/common')
| -rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java index 1ae3381662..dfc013fe49 100644 --- a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java +++ b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java @@ -195,6 +195,11 @@ public class GT_MetaTileEntity_Hatch_InputBus_ME extends GT_MetaTileEntity_Hatch } @Override + public boolean setStackToZeroInsteadOfNull(int aIndex) { + return true; + } + + @Override public ItemStack getStackInSlot(int aIndex) { if (!processingRecipe) return super.getStackInSlot(aIndex); if (aIndex < 0 || aIndex > mInventory.length) return null; |
