Conduit junction replacement fix
This commit is contained in:
@@ -118,7 +118,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
|
||||
public Block getReplacement(BuildPlan req, Seq<BuildPlan> plans){
|
||||
if(junctionReplacement == null) return this;
|
||||
|
||||
Boolf<Point2> cont = p -> plans.contains(o -> o.x == req.x + p.x && o.y == req.y + p.y && o.rotation == req.rotation && (req.block instanceof Conduit || req.block instanceof LiquidJunction));
|
||||
Boolf<Point2> cont = p -> plans.contains(o -> o.x == req.x + p.x && o.y == req.y + p.y && (req.block instanceof Conduit || req.block instanceof LiquidJunction));
|
||||
return cont.get(Geometry.d4(req.rotation)) &&
|
||||
cont.get(Geometry.d4(req.rotation - 2)) &&
|
||||
req.tile() != null &&
|
||||
|
||||
Reference in New Issue
Block a user