From 70c2010ea59ea12024d70df907838261bb3bf127 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 4 Mar 2026 23:57:42 -0500 Subject: [PATCH] Fixed GenericCrafter patch crash --- .../world/blocks/production/GenericCrafter.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/mindustry/world/blocks/production/GenericCrafter.java b/core/src/mindustry/world/blocks/production/GenericCrafter.java index 6efd4520d2..0fc1ef457b 100644 --- a/core/src/mindustry/world/blocks/production/GenericCrafter.java +++ b/core/src/mindustry/world/blocks/production/GenericCrafter.java @@ -135,6 +135,16 @@ public class GenericCrafter extends Block{ super.init(); } + @Override + public void afterPatch(){ + super.afterPatch(); + + outputsLiquid = outputLiquids != null; + + if(outputItems != null) hasItems = true; + if(outputLiquids != null) hasLiquids = true; + } + @Override public void drawPlanRegion(BuildPlan plan, Eachable list){ drawer.drawPlan(this, plan, list);