This PR fixes the null condition of getGenlessFormat() when called by legalLockedFormat() for valid presets parsed from the Teambuilder sourced from teams/boxes without a format set (saved as 'gen9', for instance). This causes a fatal crash in both the Calcdex & Honkdex as they try to load these presets. who wudda thunk !
See the v1.2.2 release for more detailed information regarding the changes made in this PR.
Details
This PR fixes the
null
condition ofgetGenlessFormat()
when called bylegalLockedFormat()
for valid presets parsed from the Teambuilder sourced from teams/boxes without a format set (saved as'gen9'
, for instance). This causes a fatal crash in both the Calcdex & Honkdex as they try to load these presets. who wudda thunk !See the v1.2.2 release for more detailed information regarding the changes made in this PR.