tmp issue fix

This commit is contained in:
Blood-Asp 2015-12-06 21:20:23 +01:00
parent aeb505273b
commit 27b978f0bb

View file

@ -197,7 +197,7 @@ public class GT_MetaPipeEntity_Cable extends MetaPipeEntity implements IMetaTile
mTransferredVoltageLast20 = Math.max(mTransferredVoltageLast20, aVoltage);
mTransferredAmperageLast20 = Math.max(mTransferredAmperageLast20, mTransferredAmperage);
if (aVoltage > mVoltage || mTransferredAmperage > mAmperage) {
getBaseMetaTileEntity().setToFire();
//getBaseMetaTileEntity().setToFire();
return aAmperage;
}
return rUsedAmperes;