Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2025-07-01 23:23:54 -04:00

View File

@@ -518,12 +518,12 @@ public class LExecutor{
Object obj = target.obj(); 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 || (b.team == exec.team && exec.linkIds.contains(b.id)))){
if(type == LAccess.enabled && !p1.bool()){ if(type == LAccess.enabled){
b.lastDisabler = exec.build; if(p1.bool()) {
} b.noSleep();
}else{
if(type == LAccess.enabled && p1.bool()){ b.lastDisabler = exec.build;
b.noSleep(); }
} }
if(type.isObj && p1.isobj){ if(type.isObj && p1.isobj){