This commit is contained in:
Anuken
2023-01-07 16:21:03 -05:00
parent 56ed932716
commit 76430c1e68
2 changed files with 7 additions and 9 deletions

View File

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