- Fixed double power production

- Buffered consumers no longer request power when full
This commit is contained in:
Timmeey86 2018-12-01 14:31:01 +01:00
parent b4aba3d263
commit 982c9bf964
4 changed files with 23 additions and 16 deletions

View file

@ -42,8 +42,9 @@ public class PowerTestFixture{
}
protected static PowerGenerator createFakeProducerBlock(float producedPower){
// Multiply produced power by 2 since production efficiency is defined to be 0.5 = 100%
return new PowerGenerator("fakegen"){{
powerProduction = producedPower;
powerProduction = producedPower * 2.0f;
}};
}