Core/Misc: Some missed $ for string interpolation and some cleanups to code.

This commit is contained in:
hondacrx
2021-01-14 20:50:44 -05:00
parent b503b842d6
commit fa689dac1e
10 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ namespace Game
RaceUnlockRequirement raceExpansionRequirement = Global.ObjectMgr.GetRaceUnlockRequirement(charCreate.CreateInfo.RaceId);
if (raceExpansionRequirement == null)
{
Log.outError(LogFilter.Player, "Account {GetAccountId()} tried to create character with unavailable race {charCreate.CreateInfo.RaceId}");
Log.outError(LogFilter.Player, $"Account {GetAccountId()} tried to create character with unavailable race {charCreate.CreateInfo.RaceId}");
SendCharCreate(ResponseCodes.AccountCreateFailed);
return;
}