Core/Misc: fixed build

This commit is contained in:
Ovahlord committed 2020-07-22 18:35:41 +02:00
1 parent 47ef91c23d
commit de6a514ec5
11 files changed
+28 -28

No files matched your search

+1 -1
View File
@@ -997,7 +997,7 @@ public:
for (auto const& outerPair : redirectRegistry) // (spellId, (guid, pct))
{
SpellInfo const* const spell = sSpellMgr->GetSpellInfo(outerPair.first);
handler->PSendSysMessage(" |-- #%06u %s (%zu entries):", outerPair.first, spell ? spell->SpellName[0] : "<unknown>", outerPair.second.size());
handler->PSendSysMessage(" |-- #%06u %s (%zu entries):", outerPair.first, spell ? spell->SpellName : "<unknown>", outerPair.second.size());
for (auto const& innerPair : outerPair.second) // (guid, pct)
{
Unit* unit = ObjectAccessor::GetUnit(*target, innerPair.first);