Skip to content

Commit c265859

Browse files
committed
fix other minor formatting
1 parent 967655c commit c265859

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/main/java/dev/koifysh/archipelago/Client.java

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff 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())) {

0 commit comments

Comments
 (0)