Fixed 116 infinite resources / Fixed #11251

This commit is contained in:
Anuken
2025-09-28 10:42:07 -04:00
parent dbe67b056f
commit d6e408267e
7 changed files with 21 additions and 17 deletions
@@ -21,7 +21,6 @@ public class Junction extends Block{
underBullets = true;
group = BlockGroup.transportation;
unloadable = false;
floating = true;
noUpdateDisabled = true;
}
@@ -298,18 +298,16 @@ public class StackConveyor extends Block implements Autotiler{
}
}else{ //transfer
if(state != stateLoad || (items.total() >= getMaximumAccepted(lastItem))){
if(front() instanceof StackConveyorBuild e && e.team == team){
if(e.link == -1){
e.items.add(items);
e.lastItem = lastItem;
e.link = tile.pos();
//▲ to | from ▼
link = -1;
items.clear();
if(front() instanceof StackConveyorBuild e && e.team == team && e.link == -1){
e.items.add(items);
e.lastItem = lastItem;
e.link = tile.pos();
//▲ to | from ▼
link = -1;
items.clear();
cooldown = recharge;
e.cooldown = 1;
}
cooldown = recharge;
e.cooldown = 1;
}
}
}
@@ -10,6 +10,7 @@ public class LiquidJunction extends LiquidBlock{
public LiquidJunction(String name){
super(name);
floating = true;
}
@Override