- Fixed double power production
- Buffered consumers no longer request power when full
This commit is contained in:
@@ -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;
|
||||
}};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user