File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
src/main/java/dev/koifysh/archipelago Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -171,22 +171,24 @@ protected void loadDataPackage() {
171171 }
172172
173173 if (localGamesList .isEmpty ()){
174- //cache doesn't exist. Create the filepath
175- boolean success = directoryPath .mkdirs ();
176- if (success ){
177- LOGGER .info ("DataPackage directory didn't exist. Starting from a new one." );
178- } else {
179- LOGGER .severe ("Failed to make directories for datapackage cache." );
180- }
181- return ;
174+ //cache doesn't exist. Create the filepath
175+ boolean success = directoryPath .mkdirs ();
176+ if (success ){
177+ LOGGER .info ("DataPackage directory didn't exist. Starting from a new one." );
178+ } else {
179+ LOGGER .severe ("Failed to make directories for datapackage cache." );
180+ }
181+ return ;
182182 }
183183
184184 for (String gameName : games ) {
185185 File dir = localGamesList .get (gameName );
186+
186187 if (null == dir ){
187188 continue ;
188189 }
189- //check all checksums
190+
191+ //check all checksums
190192 for (File version : dir .listFiles ()){
191193 String versionStr = versions .get (gameName );
192194 if (versionStr != null && versionStr .equals (version .getName ())) {
You can’t perform that action at this time.
0 commit comments