mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-03-09 21:29:23 +01:00
Reload the config after save for the initial creation
This commit is contained in:
parent
6e6c40bd3b
commit
0d06fb8a0d
@ -271,6 +271,8 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
|
||||
this.messaging = new MVMessaging(this);
|
||||
this.messaging.setCooldown(this.multiverseConfig.getInt("messagecooldown", 5000));
|
||||
this.saveMVConfigs();
|
||||
// Reload the configs because they're null in memory if they were default.
|
||||
this.multiverseConfig = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml"));
|
||||
}
|
||||
|
||||
public MVMessaging getMessaging() {
|
||||
|
Loading…
Reference in New Issue
Block a user