Revert "Fix for constant material consumption in auto maintenance hatch"

This reverts commit 4caeb9ae60.
This commit is contained in:
Technus 2016-10-27 23:55:14 +02:00
parent 11a7a93c46
commit 1cf608fe14

View file

@ -115,7 +115,7 @@ public class GT_MetaTileEntity_Hatch_Maintenance extends GT_MetaTileEntity_Hatch
@Override
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTimer) {
if (mAuto && aBaseMetaTileEntity.isServerSide() && aTimer % 100 == 0 && !getBaseMetaTileEntity().isActive()) {
if (mAuto && aBaseMetaTileEntity.isServerSide() && aTimer % 100 == 0) {
boolean tSuccess = true;
ItemStack[] mInputs = new ItemStack[]{ItemList.Duct_Tape.get(4, new Object[]{}),GT_OreDictUnificator.get(OrePrefixes.cell, Materials.Lubricant, 2),GT_OreDictUnificator.get(OrePrefixes.screw, Materials.Steel, 4),GT_OreDictUnificator.get(OrePrefixes.circuit, Materials.Advanced, 2)};
List<ItemStack> aInputs = Arrays.asList(mInventory);