diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-27 00:31:30 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-27 00:31:30 +0200 |
commit | cd4785347eb641a0fab1a7157d701dd5d8c3259f (patch) | |
tree | 30ffcea7337231f84c47d45316babf45c24c3682 /DSACore/Commands/CommandHandler.cs | |
parent | 19bf37de7642ae8cdefd8fc6b4fadac3ac96ea9b (diff) |
hoked the command handler up to the web api
modified file locations
Diffstat (limited to 'DSACore/Commands/CommandHandler.cs')
-rw-r--r-- | DSACore/Commands/CommandHandler.cs | 4 |
1 files changed, 2 insertions, 2 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"); |