mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user