From 8b48113764972d4229f78460c1dfc27e7d22ceb9 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 31 Oct 2024 12:02:15 -0400 Subject: [PATCH] Fixed wrong method used for plan validation --- core/src/mindustry/entities/comp/BuilderComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/comp/BuilderComp.java b/core/src/mindustry/entities/comp/BuilderComp.java index a81d0644fa..60b6494ff6 100644 --- a/core/src/mindustry/entities/comp/BuilderComp.java +++ b/core/src/mindustry/entities/comp/BuilderComp.java @@ -137,7 +137,7 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{ } if(!(tile.build instanceof ConstructBuild cb)){ - if(!current.initialized && !current.breaking && Build.validPlace(current.block, team, current.x, current.y, current.rotation, true)){ + if(!current.initialized && !current.breaking && Build.validPlaceIgnoreUnits(current.block, team, current.x, current.y, current.rotation, true)){ if(Build.checkNoUnitOverlap(current.block, current.x, current.y)){ boolean hasAll = infinite || current.isRotation(team) || //derelict repair