.NET Format Style Fixes

This commit is contained in:
chompDev
2025-06-28 18:09:13 +00:00
committed by Format Bot
parent 5686f4a486
commit c5216044da
5 changed files with 21 additions and 6 deletions
@@ -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"
);
@@ -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
)
);
}
@@ -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))
{
@@ -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
);
@@ -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;
}