This commit is contained in:
Anuken
2023-01-07 12:06:57 -05:00
parent 4ec4e83823
commit 0c9f2b2687

View File

@@ -154,12 +154,14 @@ public class PayloadConveyor extends Block{
//trigger update forward
next.updateTile();
//TODO add self to queue of next conveyor, then check if this conveyor was selected next frame - selection happens deterministically
if(next.acceptPayload(this, item)){
//move forward.
next.handlePayload(this, item);
item = null;
moved();
if(next != null){
//TODO add self to queue of next conveyor, then check if this conveyor was selected next frame - selection happens deterministically
if(next.acceptPayload(this, item)){
//move forward.
next.handlePayload(this, item);
item = null;
moved();
}
}
}else if(!blocked){
//dump item forward