mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior
This commit is contained in:
@@ -291,7 +291,9 @@ public:
|
||||
{
|
||||
sLanguageMgr->ForEachLanguage([handler](uint32 /*lang*/, LanguageDesc const& languageDesc)
|
||||
{
|
||||
handler->GetSession()->GetPlayer()->LearnSpell(languageDesc.SpellId, false);
|
||||
if (languageDesc.SpellId)
|
||||
handler->GetSession()->GetPlayer()->LearnSpell(languageDesc.SpellId, false);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user