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
@@ -154,15 +154,13 @@ 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 != null && next.acceptPayload(this, item)){
//move forward. //move forward.
next.handlePayload(this, item); next.handlePayload(this, item);
item = null; item = null;
moved(); moved();
} }
}
}else if(!blocked){ }else if(!blocked){
//dump item forward //dump item forward
if(item.dump()){ if(item.dump()){
+1 -1
View File
@@ -25,4 +25,4 @@ org.gradle.caching=true
#used for slow jitpack builds; TODO see if this actually works #used for slow jitpack builds; TODO see if this actually works
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
archash=1d7a035858 archash=7230b65064