Skip to content

Commit

Permalink
fix: dict initializer in RojoReader
Browse files Browse the repository at this point in the history
  • Loading branch information
R-unic authored Aug 3, 2024
1 parent 8e33169 commit 973e6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RobloxCS/RojoReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public sealed class InstanceDescription
public Dictionary<string, InstanceDescription> Instances { get; set; } = [];

[JsonExtensionData]
public IDictionary<string, JsonElement> AdditionalData { get; set; } = [];
public IDictionary<string, JsonElement> AdditionalData { get; set; } = new Dictionary<string, JsonElement>;

Check failure on line 55 in RobloxCS/RojoReader.cs

View workflow job for this annotation

GitHub Actions / build

A new expression requires an argument list or (),

Check failure on line 55 in RobloxCS/RojoReader.cs

View workflow job for this annotation

GitHub Actions / build

A new expression requires an argument list or (),

Check failure on line 55 in RobloxCS/RojoReader.cs

View workflow job for this annotation

GitHub Actions / publish

A new expression requires an argument list or (),

public void OnDeserialized()
{
Expand Down

0 comments on commit 973e6a2

Please sign in to comment.