mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-20 13:50:59 -07:00
Consumers only draw power when all other required inputs are valid
This commit is contained in:
parent
e5dabc63c2
commit
329dac77ee
3 changed files with 82 additions and 7 deletions
|
|
@ -99,7 +99,8 @@ public class PowerTestFixture{
|
|||
}
|
||||
|
||||
// Assign incredibly high health so the block does not get destroyed on e.g. burning Blast Compound
|
||||
block.health *= 100.0f;
|
||||
block.health = 100000;
|
||||
tile.entity.health = 100000.0f;
|
||||
|
||||
return tile;
|
||||
}catch(Exception ex){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue