From b5696463102547b3f0516df875139e8643393eae Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 26 Feb 2023 23:03:03 -0500 Subject: [PATCH] fixed ignoreLiquidFullness --- .../src/mindustry/world/blocks/production/GenericCrafter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/mindustry/world/blocks/production/GenericCrafter.java b/core/src/mindustry/world/blocks/production/GenericCrafter.java index 9112691292..1a2843e829 100644 --- a/core/src/mindustry/world/blocks/production/GenericCrafter.java +++ b/core/src/mindustry/world/blocks/production/GenericCrafter.java @@ -241,6 +241,10 @@ public class GenericCrafter extends Block{ @Override public float getProgressIncrease(float baseTime){ + if(ignoreLiquidFullness){ + return super.getProgressIncrease(baseTime); + } + //limit progress increase by maximum amount of liquid it can produce float scaling = 1f, max = 1f; if(outputLiquids != null){