From 24827f4f2a6cf3d368590ee5f111c463e9d219d2 Mon Sep 17 00:00:00 2001 From: MEEP of Faith Date: Sat, 14 Aug 2021 15:27:52 -0700 Subject: [PATCH] b l o c k --- .../mindustry/world/blocks/distribution/PayloadConveyor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java b/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java index 8d2a17f734..f9c42a4cfc 100644 --- a/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java +++ b/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java @@ -113,7 +113,7 @@ public class PayloadConveyor extends Block{ int ntrns = 1 + size/2; Tile next = tile.nearby(Geometry.d4(rotation).x * ntrns, Geometry.d4(rotation).y * ntrns); - blocked = (next != null && next.solid() && !next.block().outputsPayload) || (this.next != null && this.next.rotate && (this.next.rotation + 2) % 4 == rotation); + blocked = (next != null && next.solid() && !next.block().outputsPayload) || (this.next != null && this.next.block.rotate && (this.next.rotation + 2) % 4 == rotation); } @Override