Updated core difficulty code to use JsonElement

This commit is contained in:
Chomp
2025-08-23 10:30:26 +01:00
parent 3312a5f28c
commit c40439d04f
2 changed files with 4 additions and 6 deletions
@@ -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; }
}