Fix #785 - Unlimited EU in Dynamo Hatch
I went with @Techlone's simple solution after all. Counting out the individual EU might make more sense if any of the multiblocks could have more than one dynamo hatch, but they don't, so this is just fine.
This commit is contained in:
parent
c0d7d7eefd
commit
b2859158aa
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
|
|||
if (aEU <= 0) return true;
|
||||
for (GT_MetaTileEntity_Hatch_Dynamo tHatch : mDynamoHatches) {
|
||||
if (isValidMetaTileEntity(tHatch)) {
|
||||
if (tHatch.getBaseMetaTileEntity().increaseStoredEnergyUnits(aEU, true)) {
|
||||
if (tHatch.getBaseMetaTileEntity().increaseStoredEnergyUnits(aEU, false)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue