Added error message info to Addon config save error

This commit is contained in:
tastybento 2020-04-15 07:39:37 -07:00
parent 9ea672b8e7
commit 80285b71df

View File

@ -209,7 +209,7 @@ public abstract class Addon {
try { try {
getConfig().save(new File(dataFolder, ADDON_CONFIG_FILENAME)); getConfig().save(new File(dataFolder, ADDON_CONFIG_FILENAME));
} catch (IOException e) { } catch (IOException e) {
Bukkit.getLogger().severe("Could not save config!"); Bukkit.getLogger().severe("Could not save config! " + this.getDescription().getName() + " " + e.getMessage());
} }
} }