From ed6a92095455348ce0a54554f41e38fdbd01b8b7 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 10 Jun 2022 14:09:26 -0400 Subject: [PATCH] Scripts/Commands: fix `.learn all recipes` Port From (https://github.com/TrinityCore/TrinityCore/commit/59889d926d7c3d4a57afa357f25f69c0c8dea7bb) --- Source/Game/Chat/Commands/LearnCommands.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Game/Chat/Commands/LearnCommands.cs b/Source/Game/Chat/Commands/LearnCommands.cs index d6613014e..4ce4505a9 100644 --- a/Source/Game/Chat/Commands/LearnCommands.cs +++ b/Source/Game/Chat/Commands/LearnCommands.cs @@ -185,9 +185,6 @@ namespace Game.Chat.Commands locale = 0; for (; locale < Locale.Total; ++locale) { - if (locale == handler.GetSessionDbcLocale()) - continue; - name = skillInfo.DisplayName[locale]; if (name.IsEmpty()) continue;