fix encoding

This commit is contained in:
CWX
2025-01-12 16:48:26 +00:00
parent 01c663f74c
commit a8ef6655d7
6 changed files with 12 additions and 9 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
using Core.Controllers;
using Core.Annotations;
using Core.Controllers;
using Core.Models.Eft.Common;
using Core.Models.Eft.HttpResponse;
using Core.Models.Eft.Profile;
@@ -6,6 +7,7 @@ using Core.Utils;
namespace Core.Callbacks;
[Injectable(InjectableTypeOverride = typeof(AchievementCallbacks))]
public class AchievementCallbacks
{
protected AchievementController _achievementController;
+1 -1
View File
@@ -1,4 +1,4 @@
using Core.Annotations;
using Core.Annotations;
using Core.Helpers;
using Core.Models.Eft.Weather;
using Core.Models.Enums;
+5 -4
View File
@@ -1,5 +1,6 @@
using Core.Annotations;
using Core.Annotations;
using Core.Models.Spt.Helper;
using ILogger = Core.Models.Utils.ILogger;
namespace Core.Helpers;
@@ -42,17 +43,17 @@ public class WeightedRandomHelper
{
if (items.Count == 0)
{
_logger.LogError("Items must not be empty");
_logger.Error("Items must not be empty");
}
if (weights.Count == 0)
{
_logger.LogError("Item weights must not be empty");
_logger.Error("Item weights must not be empty");
}
if (items.Count != weights.Count)
{
_logger.LogError("Items and weight inputs must be of the same length");
_logger.Error("Items and weight inputs must be of the same length");
}
// Preparing the cumulative weights list.
+1 -1
View File
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;
using Core.Models.Common;
using Core.Models.Enums;
using Core.Utils.Json.Converters;
+1 -1
View File
@@ -1,4 +1,4 @@
using Core.Annotations;
using Core.Annotations;
using Core.Generators;
using Core.Helpers;
using Core.Models.Eft.Weather;
+1 -1
View File
@@ -1,4 +1,4 @@
using Core.Annotations;
using Core.Annotations;
namespace Core.Utils;