Status apply instruction / Bugfixes
This commit is contained in:
@@ -76,7 +76,7 @@ public class LaserTurret extends PowerTurret{
|
||||
|
||||
wasShooting = true;
|
||||
heat = 1f;
|
||||
curRecoil = recoil;
|
||||
curRecoil = 1f;
|
||||
}else if(reloadCounter > 0){
|
||||
wasShooting = true;
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ public class Duct extends Block implements Autotiler{
|
||||
|
||||
@Override
|
||||
public void handlePlacementLine(Seq<BuildPlan> plans){
|
||||
Placement.calculateBridges(plans, (DuctBridge)Blocks.ductBridge, false);
|
||||
Placement.calculateBridges(plans, (DuctBridge)Blocks.ductBridge, false, b -> b instanceof Duct);
|
||||
}
|
||||
|
||||
public class DuctBuild extends Building{
|
||||
|
||||
@@ -136,7 +136,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
|
||||
if(bridgeReplacement == null) return;
|
||||
|
||||
if(rotBridgeReplacement instanceof DirectionBridge duct){
|
||||
Placement.calculateBridges(plans, duct, true);
|
||||
Placement.calculateBridges(plans, duct, true, b -> b instanceof Conduit);
|
||||
}else{
|
||||
Placement.calculateBridges(plans, (ItemBridge)bridgeReplacement);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user