aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dickson <github@bombcar.com>2021-11-25 06:44:21 -0600
committerTom Dickson <github@bombcar.com>2021-11-25 06:44:21 -0600
commit2b42cb27f84b23a38c154469575c108da29307b4 (patch)
tree97452ddc58f1760e075df46150323dbf1f761560
parentaf441c7a5f5ceab909c00dd794b7ce25d8925c49 (diff)
downloadGT5-Unofficial-2b42cb27f84b23a38c154469575c108da29307b4.tar.gz
GT5-Unofficial-2b42cb27f84b23a38c154469575c108da29307b4.tar.bz2
GT5-Unofficial-2b42cb27f84b23a38c154469575c108da29307b4.zip
readd constructor
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
index 151b5a1735..7c857ac0bf 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
@@ -40,6 +40,13 @@ public abstract class GT_MetaTileEntity_Hatch_NbtConsumable extends GT_MetaTileE
mAllowDuplicateUsageTypes = aAllowDuplicateTypes;
}
+ public GT_MetaTileEntity_Hatch_NbtConsumable(String aName, int aTier, int aInputSlots, String[] aDescription, boolean aAllowDuplicateTypes, ITexture[][][] aTextures) {
+ super(aName, aTier, aInputSlots*2, aDescription, aTextures);
+ mInputslotCount = getInputSlotCount();
+ mTotalSlotCount = getInputSlotCount()*2;
+ mAllowDuplicateUsageTypes = aAllowDuplicateTypes;
+ }
+
@Override
public abstract ITexture[] getTexturesActive(ITexture aBaseTexture);