This commit is contained in:
Anuken
2020-10-21 11:37:44 -04:00
parent ee8f18796e
commit 1cbcb742e9
2 changed files with 3 additions and 2 deletions
@@ -207,7 +207,8 @@ abstract class BuilderComp implements Unitc{
BuildPlan plan = buildPlan();
Tile tile = world.tile(plan.x, plan.y);
if((!within(tile, buildingRange) && !state.isEditor()) || tile == null){
if(tile == null || (!within(tile, buildingRange) && !state.isEditor())){
return;
}