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
8e31958980
commit
3b5dfb6f7b
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,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