Add missing DataDefinition constructors (#14603)

This commit is contained in:
Leon Friedrich
2023-03-13 12:37:24 +13:00
committed by GitHub
parent 6e4949af77
commit f0cf4e7a22
6 changed files with 45 additions and 39 deletions

View File

@@ -106,7 +106,7 @@ namespace Content.Tests.Server.Preferences
var prototypeManager = IoCManager.Resolve<IPrototypeManager>();
prototypeManager.Initialize();
prototypeManager.LoadFromStream(new StringReader(Prototypes));
await db.InitPrefsAsync(username, HumanoidCharacterProfile.Default());
await db.InitPrefsAsync(username, new HumanoidCharacterProfile());
await db.SaveCharacterSlotAsync(username, CharlieCharlieson(), 1);
await db.SaveSelectedCharacterIndexAsync(username, 1);
await db.SaveCharacterSlotAsync(username, null, 1);