From b86ca1d12f3a7e002235d7ed2b5ddd03f43de5d6 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 9 Apr 2023 18:16:25 -0400 Subject: [PATCH] Fixed #8496 --- core/src/mindustry/world/blocks/distribution/StackConveyor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/StackConveyor.java b/core/src/mindustry/world/blocks/distribution/StackConveyor.java index b8ea87a6ac..264db024d8 100644 --- a/core/src/mindustry/world/blocks/distribution/StackConveyor.java +++ b/core/src/mindustry/world/blocks/distribution/StackConveyor.java @@ -208,7 +208,7 @@ public class StackConveyor extends Block implements Autotiler{ state = stateMove; int[] bits = buildBlending(tile, rotation, null, true); - if(bits[0] == 0 && blends(tile, rotation, 0) && !blends(tile, rotation, 2)) state = stateLoad; // a 0 that faces into a conveyor with none behind it + if(bits[0] == 0 && blends(tile, rotation, 0) && (!blends(tile, rotation, 2) || back() instanceof StackConveyorBuild b && b.state == stateUnload)) state = stateLoad; // a 0 that faces into a conveyor with none behind it if(outputRouter && bits[0] == 0 && !blends(tile, rotation, 0) && blends(tile, rotation, 2)) state = stateUnload; // a 0 that faces into none with a conveyor behind it if(!outputRouter && !(front() instanceof StackConveyorBuild)) state = stateUnload; // a 0 that faces into none with a conveyor behind it