From cd4785347eb641a0fab1a7157d701dd5d8c3259f Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 27 Sep 2018 00:31:30 +0200 Subject: hoked the command handler up to the web api modified file locations --- DSACore/Commands/CommandHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DSACore/Commands/CommandHandler.cs') 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"); -- cgit v1.2.3-70-g09d2