Remove invalid config exception

This commit is contained in:
libraryaddict 2021-01-24 22:31:47 +13:00
parent b63c9d20d5
commit 9067aa8259

View File

@ -5,7 +5,6 @@ import me.libraryaddict.disguise.LibsDisguises;
import me.libraryaddict.disguise.utilities.plugin.BisectHosting; import me.libraryaddict.disguise.utilities.plugin.BisectHosting;
import me.libraryaddict.disguise.utilities.plugin.PluginInformation; import me.libraryaddict.disguise.utilities.plugin.PluginInformation;
import me.libraryaddict.disguise.utilities.reflection.ReflectionManager; import me.libraryaddict.disguise.utilities.reflection.ReflectionManager;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.util.FileUtil; import org.bukkit.util.FileUtil;
@ -297,7 +296,7 @@ public class LibsPremium {
pluginBuildDate = config.getString("build-date"); pluginBuildDate = config.getString("build-date");
} }
} }
catch (InvalidConfigurationException | IOException ex) { catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }