Skip to content

Commit

Permalink
Fix copy/pasted ctors
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed May 6, 2024
1 parent bc9d2b3 commit c34d504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BymlLibrary/Byml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public Byml(BymlHashMap64 hashMap64)
public static implicit operator Byml(Byml[] array) => new(array);
public Byml(IEnumerable<Byml> array)
{
Type = BymlNodeType.HashMap32;
Type = BymlNodeType.Array;
Value = new BymlArray(array);
}

Expand All @@ -216,7 +216,7 @@ public Byml(BymlArray array)
public static implicit operator Byml(Dictionary<string, Byml> map) => new(map);
public Byml(IDictionary<string, Byml> map)
{
Type = BymlNodeType.HashMap32;
Type = BymlNodeType.Map;
Value = new BymlMap(map);
}

Expand Down

0 comments on commit c34d504

Please sign in to comment.