This commit is contained in:
Matthew Peng 2021-08-14 15:41:44 -07:00 committed by GitHub
parent 24827f4f2a
commit 2860818e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.block.rotate && (this.next.rotation + 2) % 4 == rotation);
blocked = (next != null && next.solid() && !next.block().outputsPayload) || (next != null && next.block().rotate && (next.rotation + 2) % 4 == rotation);
}
@Override