Fixed #1947
This commit is contained in:
@@ -184,7 +184,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||||||
if(items.empty()) poofOut();
|
if(items.empty()) poofOut();
|
||||||
}
|
}
|
||||||
}else{ //transfer
|
}else{ //transfer
|
||||||
if(state != stateLoad || (items.total() >= getMaximumAccepted(items.first()))){
|
if(state != stateLoad || (items.total() >= getMaximumAccepted(lastItem))){
|
||||||
if(front() != null
|
if(front() != null
|
||||||
&& front().team() == team()
|
&& front().team() == team()
|
||||||
&& front().block() instanceof StackConveyor){
|
&& front().block() instanceof StackConveyor){
|
||||||
@@ -193,6 +193,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||||||
// sleep if its occupied
|
// sleep if its occupied
|
||||||
if(e.link == -1){
|
if(e.link == -1){
|
||||||
e.items.addAll(items);
|
e.items.addAll(items);
|
||||||
|
e.lastItem = lastItem;
|
||||||
e.link = tile.pos();
|
e.link = tile.pos();
|
||||||
// ▲ to | from ▼
|
// ▲ to | from ▼
|
||||||
link = -1;
|
link = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user