mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix Bio-Generator keep burning biogas even tho its energy is full
Issue #52
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user