From 9a997676128cd88b2ec184059ec22f6b87f6251f Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 2 Jan 2018 13:00:30 -0500 Subject: [PATCH] Forgot to add missing command --- Source/Game/Chat/Commands/DebugCommands.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Source/Game/Chat/Commands/DebugCommands.cs b/Source/Game/Chat/Commands/DebugCommands.cs index 9deca4eb8..1ded2f1d1 100644 --- a/Source/Game/Chat/Commands/DebugCommands.cs +++ b/Source/Game/Chat/Commands/DebugCommands.cs @@ -1128,6 +1128,19 @@ namespace Game.Chat return true; } + [Command("playerchoice", RBACPermissions.CommandDebugSendPlayerChoice)] + static bool HandleDebugSendPlayerChoiceCommand(StringArguments args, CommandHandler handler) + { + if (args.Empty()) + return false; + + int choiceId = args.NextInt32(); + Player player = handler.GetSession().GetPlayer(); + + player.SendPlayerChoice(player.GetGUID(), choiceId); + return true; + } + [Command("qpartymsg", RBACPermissions.CommandDebugSendQpartymsg)] static bool HandleDebugSendQuestPartyMsgCommand(StringArguments args, CommandHandler handler) {