From c34d504971d76d8edb152f18a8549ace24d46e4d Mon Sep 17 00:00:00 2001 From: ArchLeaders Date: Sun, 5 May 2024 17:20:39 -0700 Subject: [PATCH] Fix copy/pasted ctors --- src/BymlLibrary/Byml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BymlLibrary/Byml.cs b/src/BymlLibrary/Byml.cs index 773b7e7..56a4fef 100644 --- a/src/BymlLibrary/Byml.cs +++ b/src/BymlLibrary/Byml.cs @@ -202,7 +202,7 @@ public Byml(BymlHashMap64 hashMap64) public static implicit operator Byml(Byml[] array) => new(array); public Byml(IEnumerable array) { - Type = BymlNodeType.HashMap32; + Type = BymlNodeType.Array; Value = new BymlArray(array); } @@ -216,7 +216,7 @@ public Byml(BymlArray array) public static implicit operator Byml(Dictionary map) => new(map); public Byml(IDictionary map) { - Type = BymlNodeType.HashMap32; + Type = BymlNodeType.Map; Value = new BymlMap(map); }