a
This commit is contained in:
@@ -154,14 +154,12 @@ 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 != null && next.acceptPayload(this, item)){
|
||||||
if(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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user