Merge pull request #54 from Thorfusion/BioFuel-Rework

Fix Bio-Generator keep burning biogas even tho its energy is full
This commit is contained in:
maggi373 authored and GitHub committed 2022-11-17 20:49:25 +01:00
commit 796eaca93f
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