Skip to content

Commit 0cd0d03

Browse files
committed
Forget to carry through URL in one place.
1 parent 541a4ce commit 0cd0d03

File tree

1 file changed

+3
-1
lines changed
  • xivModdingFramework/Mods/FileTypes

1 file changed

+3
-1
lines changed

xivModdingFramework/Mods/FileTypes/TTMP.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ public async Task<int> CreateSimpleModPack(SimpleModPackData modPackData, Direct
231231
{
232232
name = modPackData.Name,
233233
author = modPackData.Author,
234-
version = modPackData.Version.ToString()
234+
version = modPackData.Version.ToString(),
235+
url = modPackData.Url
235236
}
236237
};
237238

@@ -531,6 +532,7 @@ await dat.WriteToDat(new List<byte>(data), null, modJson.FullPath,
531532
{
532533
modList = JsonConvert.DeserializeObject<ModList>(File.ReadAllText(modListDirectory.FullName));
533534

535+
// TODO - Probably need to look at keying this off more than just the name.
534536
var modPackExists = modList.ModPacks.Any(modpack => modpack.name == modsJson[0].ModPackEntry.name);
535537

536538
if (!modPackExists)

0 commit comments

Comments
 (0)