Core/Player: Add debug log when SendCanTakeQuestResponse(INVALIDREASON_*) is used
Intent is to find broken quest chains Requested by Aokromes
This commit is contained in:
@@ -505,7 +505,7 @@ public:
|
||||
|
||||
static bool HandleDebugSendQuestInvalidMsgCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
uint32 msg = atol((char*)args);
|
||||
QuestFailedReason msg = static_cast<QuestFailedReason>(atol((char*)args));
|
||||
handler->GetSession()->GetPlayer()->SendCanTakeQuestResponse(msg);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user