Whoops ? :')

This commit is contained in:
vanhec_a 2015-10-16 17:03:34 +02:00
parent 39ab41f542
commit a2f5a7917d
2 changed files with 4 additions and 2 deletions

View File

@ -274,7 +274,7 @@ public final class Settings extends YamlConfiguration {
forceRegisterCommands = configFile.getStringList("settings.forceRegisterCommands");
forceRegisterCommandsAsConsole = configFile.getStringList("settings.forceRegisterCommandsAsConsole");
customAttributes = configFile.getBoolean("Hooks.customAttributes");
generateImage = configFile.getBoolean("Email.generateImage", true);
generateImage = configFile.getBoolean("Email.generateImage", false);
isMySQLWebsite = configFile.getBoolean("DataSource.mySQLWebsite", false);
// Load the welcome message
@ -470,7 +470,7 @@ public final class Settings extends YamlConfiguration {
changes = true;
}
if (!contains("Email.generateImage")) {
set("Email.generateImage", true);
set("Email.generateImage", false);
changes = true;
}
if (!contains("DataSource.mySQLRealName")) {

View File

@ -352,6 +352,8 @@ Email:
- 10minutemail.com
# WhiteList only these domains for emails
emailWhitelisted: []
# Do we need to send new password draw in an image ?
generateImage: false
Hooks:
# Do we need to hook with multiverse for spawn checking?
multiverse: true