Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2025-07-01 23:23:54 -04:00
+4 -4
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){
if(p1.bool()) {
b.noSleep();
}else{
b.lastDisabler = exec.build; b.lastDisabler = exec.build;
} }
if(type == LAccess.enabled && p1.bool()){
b.noSleep();
} }
if(type.isObj && p1.isobj){ if(type.isObj && p1.isobj){