From 8c6a4cdeb509397e631601fe9158793fe2bd1fe9 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 2 Jan 2017 10:20:52 +0100 Subject: [PATCH] Fixes? --- .gitmodules | 2 +- src/NadekoBot/Services/Database/Models/ClashWar.cs | 2 +- src/NadekoBot/Services/Database/Models/MusicPlaylist.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index a273d918..08cf3841 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "Discord.Net"] - path = discord.net + path = Discord.Net url = https://github.com/Kwoth/Discord.Net branch = rogue-dev diff --git a/src/NadekoBot/Services/Database/Models/ClashWar.cs b/src/NadekoBot/Services/Database/Models/ClashWar.cs index 8322f5a3..e38f6337 100644 --- a/src/NadekoBot/Services/Database/Models/ClashWar.cs +++ b/src/NadekoBot/Services/Database/Models/ClashWar.cs @@ -27,6 +27,6 @@ namespace NadekoBot.Services.Database.Models [NotMapped] public ITextChannel Channel { get; set; } - public List Bases { get; set; } + public List Bases { get; set; } = new List(); } } diff --git a/src/NadekoBot/Services/Database/Models/MusicPlaylist.cs b/src/NadekoBot/Services/Database/Models/MusicPlaylist.cs index 6978c1f3..9788f033 100644 --- a/src/NadekoBot/Services/Database/Models/MusicPlaylist.cs +++ b/src/NadekoBot/Services/Database/Models/MusicPlaylist.cs @@ -7,6 +7,6 @@ namespace NadekoBot.Services.Database.Models public string Name { get; set; } public string Author { get; set; } public ulong AuthorId { get; set; } - public List Songs { get; set; } + public List Songs { get; set; } = new List(); } }