Closed Kabutak closed 1 year ago
Thanks for the Pull Request, i prepared something simultaneously ^^ https://github.com/Chakratos/mhf-save-manager/commit/ed52e4b9136a23aafafd3f44e2a270cfcb160aa0 I changed the parameters to reflect the SQL Table, so if someone wants to set it to null (Which would be valid) the setter won't cause an error
Swapping the data types to nullable is definitely a better fix. Good call.
Added null coalescing operators to resolve Issue #23
Tested and confirmed on my end. There may be other entries that need this protection, but I haven't run into other problems yet. More null checks/defenses never hurt though.