summaryrefslogtreecommitdiff
path: root/DSACore/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Commands')
-rw-r--r--DSACore/Commands/CommandHandler.cs4
-rw-r--r--DSACore/Commands/NpcCommands.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/DSACore/Commands/CommandHandler.cs b/DSACore/Commands/CommandHandler.cs
index 0eb59e6..446f99e 100644
--- a/DSACore/Commands/CommandHandler.cs
+++ b/DSACore/Commands/CommandHandler.cs
@@ -22,7 +22,7 @@ namespace DSACore.Commands
case "man":
case "hilfe":
case "h":
- return Help.ShowHelp(cmd.CmdText);
+ return Help.ShowHelp(cmd.CmdTexts.ToArray());
case "le":
case "leben":
case "lp":
@@ -94,7 +94,7 @@ namespace DSACore.Commands
return res;
}
- public static string CheckCommand(string name, CommandTypes command, string waffe, int erschwernis = 0)
+ private static string CheckCommand(string name, CommandTypes command, string waffe, int erschwernis = 0)
{
var chr = Dsa.GetCharacter(0);
throw new NotImplementedException("access char by id ore name and group id");
diff --git a/DSACore/Commands/NpcCommands.cs b/DSACore/Commands/NpcCommands.cs
index 1fe8e2e..50ea966 100644
--- a/DSACore/Commands/NpcCommands.cs
+++ b/DSACore/Commands/NpcCommands.cs
@@ -24,14 +24,14 @@ namespace DSACore.Commands
}
- public static string Random(ulong id, string npcName, int mean = 9, int stDv = 1)
+ private static string Random(ulong id, string npcName, int mean = 9, int stDv = 1)
{
throw new NotImplementedException();
Dsa.Chars.Add(new Npc(npcName, mean, stDv));
return $"{npcName} wurde zufällig generiert";
}
- public static string Copy(ulong id, string npcName, string source, int stDv = 1)
+ private static string Copy(ulong id, string npcName, string source, int stDv = 1)
{
if (Dsa.Chars.Exists(x => x.Name.Equals(npcName)))
{