diff --git a/project/src/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.ts b/project/src/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.ts index 0fd2c2db..cc3557af 100644 --- a/project/src/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.ts +++ b/project/src/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.ts @@ -119,7 +119,7 @@ export class GiveSptCommand implements ISptCommand { if (isItemName) { try { - locale = result[4] ? result[4] : this.localeService.getDesiredGameLocale() ?? "en"; + locale = result[4] ?? this.localeService.getDesiredGameLocale() ?? "en"; } catch (e) { this.mailSendService.sendUserMessageToPlayer( sessionId,