mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 05:51:47 -08:00
Fixed #11522
This commit is contained in:
parent
ac95b2b9fa
commit
9cc687efca
1 changed files with 5 additions and 0 deletions
|
|
@ -51,6 +51,11 @@ public class HeatCrafter extends GenericCrafter{
|
|||
super.updateTile();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldConsume(){
|
||||
return (heatRequirement <= 0f || heat > 0) && super.canConsume();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float heatRequirement(){
|
||||
return heatRequirement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue