mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 12:49:37 +07:00
b l o c k
This commit is contained in:
parent
094c6fd2f7
commit
24827f4f2a
@ -113,7 +113,7 @@ public class PayloadConveyor extends Block{
|
|||||||
|
|
||||||
int ntrns = 1 + size/2;
|
int ntrns = 1 + size/2;
|
||||||
Tile next = tile.nearby(Geometry.d4(rotation).x * ntrns, Geometry.d4(rotation).y * ntrns);
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user