Merge pull request #789 from codewarrior0/patch-7
Fix #785 - Unlimited EU in Dynamo Hatch
This commit is contained in:
commit
c6fab8b6ff
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;
|
if (aEU <= 0) return true;
|
||||||
for (GT_MetaTileEntity_Hatch_Dynamo tHatch : mDynamoHatches) {
|
for (GT_MetaTileEntity_Hatch_Dynamo tHatch : mDynamoHatches) {
|
||||||
if (isValidMetaTileEntity(tHatch)) {
|
if (isValidMetaTileEntity(tHatch)) {
|
||||||
if (tHatch.getBaseMetaTileEntity().increaseStoredEnergyUnits(aEU, true)) {
|
if (tHatch.getBaseMetaTileEntity().increaseStoredEnergyUnits(aEU, false)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue