Drake53/War3Net

6109 not defined Editor Version.

Closed this issue · 1 comments

While trying to open a frozen Throne Blizzard map ((4)iceforge.w3x), I am getting the following error:

System.IO.InvalidDataException: 'Value '6109' is not defined for enum of type EditorVersion.'

Reverting to version 5.4.2 fixed the error.
I am not sure if this is the right place to post it, given my limited experience with Github.

This issue was introduced in v5.4.5: 2532767
Enum member value 6109 was added here: 1dcb8bd
So it's already 'fixed', just haven't uploaded a new version yet.
Still wondering if i should just remove the validation though, because I changed the type from int to an enum, it now uses the extension method which automatically checks Enum.IsDefined, so I'd have to keep the values updated and some maps might also set it to some random value as a form of map protection.