Fixed 116 infinite resources / Fixed #11251
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user