fix(core): Fixes region base type (#635)
Fixes `Region` being loaded instead of `BaseRegion` as the default region type.
This commit is contained in:
parent
803b4a33cb
commit
cc5a8dc4fa
5 changed files with 211 additions and 190 deletions
|
|
@ -22,9 +22,11 @@ namespace Server.Json
|
|||
{
|
||||
public class DynamicJson
|
||||
{
|
||||
[JsonPropertyName("type")] public string Type { get; set; }
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[JsonExtensionData] public Dictionary<string, JsonElement> data { get; set; }
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, JsonElement> data { get; set; }
|
||||
|
||||
public bool GetProperty<T>(string key, JsonSerializerOptions options, out T t)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue