mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 13:08:20 +07:00
Fix plastanium conveyor linking (#5185)
This commit is contained in:
parent
9e519ab801
commit
7853767ee5
@ -119,4 +119,5 @@ BTA_Susideur
|
||||
nilq
|
||||
AsgerHB
|
||||
AzCraft
|
||||
foo
|
||||
foo
|
||||
Skat
|
||||
|
@ -63,6 +63,7 @@ public class StackConveyor extends Block implements Autotiler{
|
||||
return otherblock.outputsItems() && lookingAtEither(tile, rotation, otherx, othery, otherrot, otherblock);
|
||||
}else if(state == stateUnload){ //router mode
|
||||
return otherblock.acceptsItems &&
|
||||
(!(otherblock instanceof ArmoredConveyor) || lookingAtEither(tile, rotation, otherx, othery, otherrot, otherblock)) &&
|
||||
(notLookingAt(tile, rotation, otherx, othery, otherrot, otherblock) ||
|
||||
(otherblock instanceof StackConveyor && facing(otherx, othery, otherrot, tile.x, tile.y))) &&
|
||||
!(world.build(otherx, othery) instanceof StackConveyorBuild s && s.state == stateUnload) &&
|
||||
|
Loading…
Reference in New Issue
Block a user