mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-25 09:31:04 -08:00
Fixed #2834
This commit is contained in:
parent
9d454f208c
commit
d0d0f5a26f
10 changed files with 17 additions and 17 deletions
|
|
@ -87,7 +87,7 @@ public class ItemLiquidGeneratorTests extends PowerTestFixture{
|
|||
final float expectedRemainingLiquidAmount = Math.max(0.0f, availableLiquidAmount - expectedConsumptionPerTick * Time.delta);
|
||||
|
||||
createGenerator(inputType);
|
||||
assertTrue(entity.acceptLiquid(null, liquid, availableLiquidAmount), inputType + " | " + parameterDescription + ": Liquids which will be declined by the generator don't need to be tested - The code won't be called for those cases.");
|
||||
assertTrue(entity.acceptLiquid(null, liquid), inputType + " | " + parameterDescription + ": Liquids which will be declined by the generator don't need to be tested - The code won't be called for those cases.");
|
||||
|
||||
entity.liquids.add(liquid, availableLiquidAmount);
|
||||
entity.cons.update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue