Stop disassembler destroying not electric GT tools

This commit is contained in:
Blood-Asp 2016-03-27 16:54:11 +02:00
parent 44f3e89bdf
commit 80d362ceb8

View file

@ -30,7 +30,6 @@ public class GT_MetaTileEntity_Disassembler
if (tNBT != null) { if (tNBT != null) {
tNBT = tNBT.getCompoundTag("GT.CraftingComponents"); tNBT = tNBT.getCompoundTag("GT.CraftingComponents");
if (tNBT != null) { if (tNBT != null) {
getInputAt(0).stackSize -= 1;
this.mEUt = (16 * (1 << this.mTier - 1) * (1 << this.mTier - 1)); this.mEUt = (16 * (1 << this.mTier - 1) * (1 << this.mTier - 1));
this.mMaxProgresstime = 80; this.mMaxProgresstime = 80;
for (int i = 0; i < this.mOutputItems.length; i++) { for (int i = 0; i < this.mOutputItems.length; i++) {
@ -41,6 +40,10 @@ public class GT_MetaTileEntity_Disassembler
} }
} }
} }
if(mMaxProgresstime==80){
return 0;
}
getInputAt(0).stackSize -= 1;
return 2; return 2;
} }
} }