mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 12:23:59 +00:00
Only info not a warning if a file is missing
This commit is contained in:
parent
ee5e015a63
commit
4425d53664
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue