Fix Bio-Generator keep burning biogas even tho its energy is full

Issue #52
This commit is contained in:
DrParadox7 committed 2022-11-17 00:00:08 +01:00
1 parent dc1f650c45
commit 75bcdbb80c
1 file changed
+1 -1
@@ -123,7 +123,7 @@ public class TileEntityBioGenerator extends TileEntityGenerator implements IGasH
@Override
public boolean canOperate()
{
return (fuelTank.getStored() > 0) && MekanismUtils.canFunction(this);
return electricityStored < BASE_MAX_ENERGY && fuelTank.getStored() > 0 && MekanismUtils.canFunction(this);
}
@Override