Core/Commands: added .debug areatriggers
-if turned on it will print the trigger id to chat if you get near it --HG-- branch : trunk
This commit is contained in:
@@ -882,6 +882,9 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
||||
}
|
||||
}
|
||||
|
||||
if (GetPlayer()->isDebugAreaTriggers)
|
||||
ChatHandler(GetPlayer()).PSendSysMessage(LANG_DEBUG_AREATRIGGER_REACHED, Trigger_ID);
|
||||
|
||||
if (sScriptMgr.OnAreaTrigger(GetPlayer(), atEntry))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user