diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-20 12:24:59 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-20 12:24:59 +0100 |
commit | 791e8f2d14029999028854c8da85bc074e84fe93 (patch) | |
tree | bbf7042f5e6aad8e119862b85f0733360d6db5f5 | |
parent | 5d4f22ad84ff075c02dc29384edc030c23f89f7b (diff) | |
download | Essentials-791e8f2d14029999028854c8da85bc074e84fe93.tar Essentials-791e8f2d14029999028854c8da85bc074e84fe93.tar.gz Essentials-791e8f2d14029999028854c8da85bc074e84fe93.tar.lz Essentials-791e8f2d14029999028854c8da85bc074e84fe93.tar.xz Essentials-791e8f2d14029999028854c8da85bc074e84fe93.zip |
Only info not a warning if a file is missing
-rw-r--r-- | Essentials/src/com/earth2me/essentials/storage/AbstractDelayedYamlFileReader.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/storage/AbstractDelayedYamlFileReader.java b/Essentials/src/com/earth2me/essentials/storage/AbstractDelayedYamlFileReader.java index 43bfc358d..d48b4a060 100644 --- a/Essentials/src/com/earth2me/essentials/storage/AbstractDelayedYamlFileReader.java +++ b/Essentials/src/com/earth2me/essentials/storage/AbstractDelayedYamlFileReader.java @@ -6,10 +6,8 @@ import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.logging.Level; -import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.plugin.Plugin; -import org.yaml.snakeyaml.error.YAMLException; public abstract class AbstractDelayedYamlFileReader<T extends StorageObject> implements Runnable @@ -56,7 +54,7 @@ public abstract class AbstractDelayedYamlFileReader<T extends StorageObject> imp catch (FileNotFoundException ex) { onException(); - Bukkit.getLogger().log(Level.WARNING, "File not found: " + file.toString()); + Bukkit.getLogger().log(Level.INFO, "File not found: " + file.toString()); } catch (ObjectLoadException ex) { |