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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user