diff --git a/Libraries/SPTarkov.Server.Core/Callbacks/ClientLogCallbacks.cs b/Libraries/SPTarkov.Server.Core/Callbacks/ClientLogCallbacks.cs index 77c7eb4f..acb3b020 100644 --- a/Libraries/SPTarkov.Server.Core/Callbacks/ClientLogCallbacks.cs +++ b/Libraries/SPTarkov.Server.Core/Callbacks/ClientLogCallbacks.cs @@ -44,7 +44,9 @@ public class ClientLogCallbacks( data.BetaDisclaimerAcceptText = _serverLocalisationService.GetText( "release-beta-disclaimer-accept" ); - data.ServerModsLoadedText = _serverLocalisationService.GetText("release-server-mods-loaded"); + data.ServerModsLoadedText = _serverLocalisationService.GetText( + "release-server-mods-loaded" + ); data.ServerModsLoadedDebugText = _serverLocalisationService.GetText( "release-server-mods-debug-message" ); diff --git a/Libraries/SPTarkov.Server.Core/Controllers/CustomizationController.cs b/Libraries/SPTarkov.Server.Core/Controllers/CustomizationController.cs index 52757e8d..3267ff89 100644 --- a/Libraries/SPTarkov.Server.Core/Controllers/CustomizationController.cs +++ b/Libraries/SPTarkov.Server.Core/Controllers/CustomizationController.cs @@ -54,7 +54,10 @@ public class CustomizationController( if (matchingSuits == null) { throw new Exception( - _serverLocalisationService.GetText("customisation-unable_to_get_trader_suits", traderId) + _serverLocalisationService.GetText( + "customisation-unable_to_get_trader_suits", + traderId + ) ); } @@ -149,7 +152,10 @@ public class CustomizationController( if (foundSuit is null) { _logger.Error( - _serverLocalisationService.GetText("customisation-unable_to_find_suit_with_id", offerId) + _serverLocalisationService.GetText( + "customisation-unable_to_find_suit_with_id", + offerId + ) ); } diff --git a/Libraries/SPTarkov.Server.Core/Generators/BotInventoryGenerator.cs b/Libraries/SPTarkov.Server.Core/Generators/BotInventoryGenerator.cs index 66c2c372..3dd15a0e 100644 --- a/Libraries/SPTarkov.Server.Core/Generators/BotInventoryGenerator.cs +++ b/Libraries/SPTarkov.Server.Core/Generators/BotInventoryGenerator.cs @@ -531,7 +531,10 @@ public class BotInventoryGenerator( if (!dbResult.Key) { _logger.Error( - _serverLocalisationService.GetText("bot-missing_item_template", chosenItemTpl) + _serverLocalisationService.GetText( + "bot-missing_item_template", + chosenItemTpl + ) ); if (_logger.IsLogEnabled(LogLevel.Debug)) { diff --git a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SPTFriend/Commands/ForceSummerMessageHandler.cs b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SPTFriend/Commands/ForceSummerMessageHandler.cs index 4efca330..00db54f6 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SPTFriend/Commands/ForceSummerMessageHandler.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SPTFriend/Commands/ForceSummerMessageHandler.cs @@ -41,7 +41,9 @@ public class ForceSummerMessageHandler( _mailSendService.SendUserMessageToPlayer( sessionId, sptFriendUser, - _randomUtil.GetArrayValue([_serverLocalisationService.GetText("chatbot-summer_enabled")]), + _randomUtil.GetArrayValue( + [_serverLocalisationService.GetText("chatbot-summer_enabled")] + ), [], null ); diff --git a/Libraries/SPTarkov.Server.Core/Services/OpenZoneService.cs b/Libraries/SPTarkov.Server.Core/Services/OpenZoneService.cs index edc13680..656e964d 100644 --- a/Libraries/SPTarkov.Server.Core/Services/OpenZoneService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/OpenZoneService.cs @@ -43,7 +43,9 @@ public class OpenZoneService( { if (!dbLocations.ContainsKey(mapKvP.Key)) { - _logger.Error(_serverLocalisationService.GetText("openzone-unable_to_find_map", mapKvP)); + _logger.Error( + _serverLocalisationService.GetText("openzone-unable_to_find_map", mapKvP) + ); continue; }