Fixed the Exoflame not using mana properly on interfaced blocks.

This commit is contained in:
Vasco Lavos committed 2015-11-17 19:51:28 +00:00
1 parent 1fc1e201cd
commit 07bdb7ecd1
1 file changed
+4 -2
@@ -68,9 +68,11 @@ public class SubTileExoflame extends SubTileFunctional {
IExoflameHeatable heatable = (IExoflameHeatable) tile;
if(heatable.canSmelt() && mana > 2) {
if(heatable.getBurnTime() == 0)
if(heatable.getBurnTime() == 0) {
heatable.boostBurnTime();
mana = Math.max(0, mana - cost);
mana = Math.max(0, mana - cost);
}
if(ticksExisted % 2 == 0)
heatable.boostCookTime();