From 1ed2b2eb2eeae504c153a8e4b1d97f1f5894a380 Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Tue, 1 Dec 2020 09:28:22 +0100 Subject: [PATCH] Update core/src/mindustry/world/blocks/experimental/BlockForge.java --- core/src/mindustry/world/blocks/experimental/BlockForge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/experimental/BlockForge.java b/core/src/mindustry/world/blocks/experimental/BlockForge.java index 6f2d569644..a123a19054 100644 --- a/core/src/mindustry/world/blocks/experimental/BlockForge.java +++ b/core/src/mindustry/world/blocks/experimental/BlockForge.java @@ -41,7 +41,7 @@ public class BlockForge extends PayloadAcceptor{ public void setBars(){ super.setBars(); - bars.add("progress", (BlockForgeBuild entity) -> new Bar("bar.progress", Pal.ammo, () -> entity.payload != null ? 1f : entity.recipe == null ? 0f : (float)(entity.progress / entity.recipe.buildCost))); + bars.add("progress", (BlockForgeBuild entity) -> new Bar("bar.progress", Pal.ammo, () -> entity.recipe == null ? 0f : (float)(entity.progress / entity.recipe.buildCost))); } @Override