Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/14098b28b39bc9d1ea17d18a7ecd3dd610f29cdc)
This commit is contained in:
@@ -97,7 +97,9 @@ namespace Game.Chat.Commands
|
||||
// skipping UNIVERSAL language (0)
|
||||
Global.LanguageMgr.ForEachLanguage((lang, languageDesc) =>
|
||||
{
|
||||
handler.GetSession().GetPlayer().LearnSpell(languageDesc.SpellId, false);
|
||||
if (languageDesc.SpellId != 0)
|
||||
handler.GetSession().GetPlayer().LearnSpell(languageDesc.SpellId, false);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user