diff options
Diffstat (limited to 'DSACore/Models/Command.cs')
-rw-r--r-- | DSACore/Models/Command.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DSACore/Models/Command.cs b/DSACore/Models/Command.cs index 2630d47..58be41a 100644 --- a/DSACore/Models/Command.cs +++ b/DSACore/Models/Command.cs @@ -12,7 +12,8 @@ namespace DSACore.Models public string Name { get; set; } public string CmdIdentifier { get; set; } public List<string> CmdTexts { get; set; } - public string CmdText => CmdTexts.First(); + public string CmdText => CmdTexts != null ? CmdTexts.First() : ""; + public int Cmdmodifier { get; set; } = 0; public bool IsDm { get; set; } = false; } |