Consumers only draw power when all other required inputs are valid

This commit is contained in:
Timmeey86 2018-12-05 18:56:07 +01:00
parent e5dabc63c2
commit 329dac77ee
3 changed files with 82 additions and 7 deletions

View file

@ -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){