mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-23 10:39:05 +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."));
|
Bukkit.getConsoleSender().sendMessage(Format.FormatStringAll("&8[&eVentureChat&8]&e - Config found! Loading file."));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!new File(getDataFolder(), "defaultconfig.yml").exists()) {
|
saveResource("defaultconfig.yml", true);
|
||||||
saveResource("defaultconfig.yml", false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch(Exception ex) {
|
catch(Exception ex) {
|
||||||
log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName()));
|
log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user