Rogueadyn / SaintCoinach

A .NET library written in C# for extracting game assets and reading game assets from Final Fantasy XIV: A Realm Reborn.
Do What The F*ck You Want To Public License
70 stars 99 forks source link

System.ArgumentException in DataSheet.cs #48

Open szalkerous opened 5 years ago

szalkerous commented 5 years ago

It is possible to throw a System.ArgumentException in DataSheet.cs on the line:

[code]_PartialSheets.Add(range, partial);[/code]

Full exception: "System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at SaintCoinach.Ex.DataSheet1.CreatePartialSheet(Range range) \SaintCoinach\Ex\DataSheet.cs:line 117 at SaintCoinach.Ex.DataSheet1.CreateAllPartialSheets() in \\SaintCoinach\\Ex\\DataSheet.cs:line 108 at SaintCoinach.Ex.DataSheet1.ContainsRow(Int32 row) in \SaintCoinach\Ex\DataSheet.cs:line 136 at SaintCoinach.Ex.MultiSheet2.ContainsRow(Int32 row) in \\SaintCoinach\\Ex\\MultiSheet.cs:line 102 at SaintCoinach.Xiv.XivSheet1.ContainsRow(Int32 row) in \SaintCoinach\Xiv\XivSheet.cs:line 118