Updated core difficulty code to use JsonElement
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
@@ -12,5 +13,5 @@ public record Bots
|
||||
public required BotBase Base { get; init; }
|
||||
|
||||
[JsonPropertyName("core")]
|
||||
public required Dictionary<string, object> Core { get; init; }
|
||||
public required Dictionary<string, JsonElement> Core { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user