From ceb7ddbe1ff29e6d51491c865f45311b3f4fac66 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 10 Jun 2022 00:28:06 -0400 Subject: [PATCH] fix build --- Source/Framework/Constants/Language.cs | 3 ++- Source/Game/Chat/Commands/MiscCommands.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Framework/Constants/Language.cs b/Source/Framework/Constants/Language.cs index 2dbba8725..7060c2db9 100644 --- a/Source/Framework/Constants/Language.cs +++ b/Source/Framework/Constants/Language.cs @@ -818,7 +818,8 @@ namespace Framework.Constants AccountSecType = 880, RbacEmailRequired = 881, // = 882, LANG_PINFO_CHR_MAP_WITH_AREA - // Room For In-Game Strings 883-999 Not Used + Account = 883, + // Room For In-Game Strings 884-999 Not Used // Level 4 (Cli Only Commands) CommandExit = 1000, diff --git a/Source/Game/Chat/Commands/MiscCommands.cs b/Source/Game/Chat/Commands/MiscCommands.cs index de53178ac..1dcd2b5c1 100644 --- a/Source/Game/Chat/Commands/MiscCommands.cs +++ b/Source/Game/Chat/Commands/MiscCommands.cs @@ -1623,7 +1623,7 @@ namespace Game.Chat result2 = DB.Characters.Query(stmt); } else - banType = handler->GetTrinityString(LANG_ACCOUNT); + banType = handler.GetCypherString(CypherStrings.Account); if (!result2.IsEmpty()) {