Skip to content

Commit

Permalink
Improved path check
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto-Gentili committed Sep 6, 2024
1 parent 64abbdf commit 222725f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public boolean hasBeenCompletelyLoaded(String path) {
return true;
}
} catch (NullPointerException exc) {
if (loadedPathFIS.exists() && pathFIS.exists()) {
if (loadedPathFIS.refresh().exists() && pathFIS.refresh().exists()) {
throw exc;
}
}
Expand Down

0 comments on commit 222725f

Please sign in to comment.