Database config was null and not loading properly
This commit is contained in:
parent
fe383b2973
commit
09426dc0b4
2 changed files with 9 additions and 1 deletions
|
@ -49,12 +49,20 @@ public class DatabaseSection
|
|||
break;
|
||||
}
|
||||
default:{
|
||||
|
||||
user = tag.getString(TAG_USER);
|
||||
password = tag.getString(TAG_PASSWORD);
|
||||
host = tag.getString(TAG_HOST);
|
||||
database = tag.getString(TAG_DATABASE);
|
||||
version = ver;
|
||||
|
||||
if(migrated)
|
||||
{
|
||||
ServerConfig.commit();
|
||||
migrated=false;
|
||||
return;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue