mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
better messages
This commit is contained in:
parent
e326477a5a
commit
c74b0466b9
@ -69,14 +69,14 @@ public class Config extends YamlConfiguration
|
|||||||
{
|
{
|
||||||
// If it doesn't contain the key, we set the key based off what was found inside the plugin jar
|
// If it doesn't contain the key, we set the key based off what was found inside the plugin jar
|
||||||
externalYamlConfig.set(string, internalYamlConfig.get(string));
|
externalYamlConfig.set(string, internalYamlConfig.get(string));
|
||||||
PlexLog.log("Setting key: " + string + " to the default value(s) since it does not exist!");
|
PlexLog.log("Setting key: " + string + " in " + this.name + " to the default value(s) since it does not exist!");
|
||||||
added = true;
|
added = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (added)
|
if (added)
|
||||||
{
|
{
|
||||||
externalYamlConfig.save(file);
|
externalYamlConfig.save(file);
|
||||||
PlexLog.log("Saving new configuration file...");
|
PlexLog.log("Saving new file...");
|
||||||
}
|
}
|
||||||
super.load(file);
|
super.load(file);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user