Scripts/Commands: fix .learn all recipes

Port From (https://github.com/TrinityCore/TrinityCore/commit/59889d926d7c3d4a57afa357f25f69c0c8dea7bb)
This commit is contained in:
hondacrx
2022-06-10 14:09:26 -04:00
parent bb58edb427
commit ed6a920954
@@ -185,9 +185,6 @@ namespace Game.Chat.Commands
locale = 0; locale = 0;
for (; locale < Locale.Total; ++locale) for (; locale < Locale.Total; ++locale)
{ {
if (locale == handler.GetSessionDbcLocale())
continue;
name = skillInfo.DisplayName[locale]; name = skillInfo.DisplayName[locale];
if (name.IsEmpty()) if (name.IsEmpty())
continue; continue;