Database config was null and not loading properly

This commit is contained in:
zontreck 2024-04-23 22:40:21 -07:00
parent fe383b2973
commit 09426dc0b4
2 changed files with 9 additions and 1 deletions

View file

@ -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;
}
}