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