Core/Auras: Add missing SPELL_AURA_COMPREHEND_LANGUAGE check for serverside chat translations

Port From (https://github.com/TrinityCore/TrinityCore/commit/af5202b52891c36d231af8214156b6be6411caf3)
This commit is contained in:
hondacrx
2021-05-04 10:46:10 -04:00
parent c665330843
commit 121f377f70
+3
View File
@@ -6344,6 +6344,9 @@ namespace Game.Entities
if (languageDesc.SkillId != 0 && HasSkill((SkillType)languageDesc.SkillId))
return true;
if (HasAuraTypeWithMiscvalue(AuraType.ComprehendLanguage, (int)language))
return true;
return false;
}
#endregion