Merge branch 'master' of https://github.com/Anuken/Mindustry into wave-pathfind-avoidance

This commit is contained in:
Anuken
2025-07-06 13:13:55 -04:00
47 changed files with 334 additions and 94 deletions

View File

@@ -516,7 +516,7 @@ public class LExecutor{
@Override
public void run(LExecutor exec){
Object obj = target.obj();
if(obj instanceof Building b && (exec.privileged || (b.team == exec.team && exec.linkIds.contains(b.id)))){
if(obj instanceof Building b && (exec.privileged || (exec.build != null && exec.build.validLink(b)))){
if(type == LAccess.enabled){
if(p1.bool()){