diff --git a/core/src/main/java/com/sekwah/advancedportals/core/serializeddata/DataStorage.java b/core/src/main/java/com/sekwah/advancedportals/core/serializeddata/DataStorage.java index 00c5be2d..13518ee5 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/serializeddata/DataStorage.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/serializeddata/DataStorage.java @@ -251,11 +251,12 @@ public List listAllFiles(String fileLocation, boolean trimExtension, } } } - } 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; } diff --git a/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java b/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java index 24181907..9416556f 100644 --- a/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java +++ b/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java @@ -88,8 +88,6 @@ public void onEnable() { this.portalsCore.registerPortalCommand("import", new ImportPortalSubCommand()); - - new Metrics(this); } private void checkAndCreateConfig() {