fix: comment out log spam (#500)

Also removed extra metrics initialisation as it wasn't achieving anything and added by mistake.
This commit is contained in:
TreemanKing 2024-12-20 23:31:44 +11:00 committed by GitHub
parent 9668e31fda
commit 3067f92415
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -251,11 +251,12 @@ public class DataStorage {
}
}
}
} else {
infoLogger.warning(
"Directory does not exist or is not a directory: "
+ fileLocation);
}
// } else {
// infoLogger.warning(
// "Directory does not exist or is not a directory: "
// + fileLocation);
// }
return list;
}

View File

@ -88,8 +88,6 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
this.portalsCore.registerPortalCommand("import",
new ImportPortalSubCommand());
new Metrics(this);
}
private void checkAndCreateConfig() {