feat(Scripts/Commands): Add quality colors to .item lookup command (#18907)
add quality colors to .item lookup command
This commit is contained in:
parent
3988e9581d
commit
49e3d5dfff
2 changed files with 4 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ EndScriptData */
|
|||
#include "ReputationMgr.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "SharedDefines.h"
|
||||
|
||||
using namespace Acore::ChatCommands;
|
||||
|
||||
|
|
@ -550,7 +551,7 @@ public:
|
|||
|
||||
if (handler->GetSession())
|
||||
{
|
||||
handler->PSendSysMessage(LANG_ITEM_LIST_CHAT, itemTemplate.ItemId, itemTemplate.ItemId, name.c_str());
|
||||
handler->PSendSysMessage(LANG_ITEM_LIST_CHAT, itemTemplate.ItemId, ItemQualityColors[itemTemplate.Quality], itemTemplate.ItemId, name.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue