fix encoding
This commit is contained in:
@@ -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,4 +1,4 @@
|
||||
using Core.Annotations;
|
||||
using Core.Annotations;
|
||||
using Core.Helpers;
|
||||
using Core.Models.Eft.Weather;
|
||||
using Core.Models.Enums;
|
||||
|
||||
@@ -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,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,4 +1,4 @@
|
||||
using Core.Annotations;
|
||||
using Core.Annotations;
|
||||
using Core.Generators;
|
||||
using Core.Helpers;
|
||||
using Core.Models.Eft.Weather;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Core.Annotations;
|
||||
using Core.Annotations;
|
||||
|
||||
namespace Core.Utils;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user