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:
1 parent
3d1c549aa4
commit
2abaf6224e
4 files changed
+76
-18
No files matched your search
@@ -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