mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-12 16:27:37 +00:00
Fixed the Exoflame not using mana properly on interfaced blocks.
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user