This commit is contained in:
Anuken
2023-01-07 12:06:57 -05:00
parent 4ec4e83823
commit 0c9f2b2687
@@ -154,6 +154,7 @@ public class PayloadConveyor extends Block{
//trigger update forward //trigger update forward
next.updateTile(); 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 //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)){ if(next.acceptPayload(this, item)){
//move forward. //move forward.
@@ -161,6 +162,7 @@ public class PayloadConveyor extends Block{
item = null; item = null;
moved(); moved();
} }
}
}else if(!blocked){ }else if(!blocked){
//dump item forward //dump item forward
if(item.dump()){ if(item.dump()){