mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Always save new defaultconfig.yml file for reference
This commit is contained in:
parent
4071036481
commit
6cd814893d
@ -193,9 +193,7 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener {
|
||||
Bukkit.getConsoleSender().sendMessage(Format.FormatStringAll("&8[&eVentureChat&8]&e - Config found! Loading file."));
|
||||
}
|
||||
|
||||
if(!new File(getDataFolder(), "defaultconfig.yml").exists()) {
|
||||
saveResource("defaultconfig.yml", false);
|
||||
}
|
||||
saveResource("defaultconfig.yml", true);
|
||||
}
|
||||
catch(Exception ex) {
|
||||
log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user