Fixed #11694
This commit is contained in:
@@ -118,7 +118,10 @@ public class PayloadConveyor extends Block{
|
||||
}else{
|
||||
next = null;
|
||||
}
|
||||
checkBlocked();
|
||||
}
|
||||
|
||||
void checkBlocked(){
|
||||
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 || next.block().acceptsPayload)) || (this.next != null && this.next.payloadCheck(rotation));
|
||||
@@ -156,6 +159,7 @@ public class PayloadConveyor extends Block{
|
||||
boolean had = item != null;
|
||||
|
||||
if(valid && stepAccepted != curStep && item != null){
|
||||
checkBlocked();
|
||||
if(next != null){
|
||||
//trigger update forward
|
||||
next.updateTile();
|
||||
|
||||
Reference in New Issue
Block a user