mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
Core/Auras: Add missing SPELL_AURA_COMPREHEND_LANGUAGE check for serverside chat translations
This commit is contained in:
@@ -22092,6 +22092,9 @@ bool Player::CanUnderstandLanguage(Language language) const
|
||||
if (languageDesc.second.SkillId && HasSkill(languageDesc.second.SkillId))
|
||||
return true;
|
||||
|
||||
if (HasAuraTypeWithMiscvalue(SPELL_AURA_COMPREHEND_LANGUAGE, language))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user