Possible pathfinder error fix

This commit is contained in:
Anuken
2025-04-27 15:32:43 -04:00
parent ec6740c8da
commit c5c1e519ba
2 changed files with 7 additions and 5 deletions

View File

@@ -1572,9 +1572,11 @@ public class ControlPathfinder implements Runnable{
}
//each update time (not total!) no longer than maxUpdate
for(FieldCache cache : fields.values()){
updateFields(cache, maxUpdate);
}
fields.eachValue(cache -> {
if(cache != null){
updateFields(cache, maxUpdate);
}
});
}
try{
@@ -1584,7 +1586,7 @@ public class ControlPathfinder implements Runnable{
return;
}
}catch(Throwable e){
e.printStackTrace();
Log.err(e);
}
}
}

View File

@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=aa4a6cd37c
archash=f3b1dc4a13