mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Core: Fix build
This commit is contained in:
@@ -877,7 +877,7 @@ public:
|
||||
if (spellInfo)
|
||||
{
|
||||
int locale = handler->GetSessionDbcLocale();
|
||||
std::string name = spellInfo->SpellName[locale];
|
||||
std::string name = spellInfo->SpellName;
|
||||
if (name.empty())
|
||||
{
|
||||
handler->SendSysMessage(LANG_COMMAND_NOSPELLFOUND);
|
||||
|
||||
Reference in New Issue
Block a user