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:
@@ -78,7 +78,7 @@ namespace Game
|
||||
temp.sound = 0;
|
||||
}
|
||||
}
|
||||
if (!Global.LanguageMgr.IsLanguageExist(temp.lang))
|
||||
if (temp.lang != Language.Universal && !Global.LanguageMgr.IsLanguageExist(temp.lang))
|
||||
{
|
||||
Log.outError(LogFilter.Sql, "GossipManager: Entry {0}, Group {1} in table `creature_texts` using Language {2} but Language does not exist.", temp.creatureId, temp.groupId, temp.lang);
|
||||
temp.lang = Language.Universal;
|
||||
|
||||
Reference in New Issue
Block a user