UndertaleModTool
                                
                                 UndertaleModTool copied to clipboard
                                
                                    UndertaleModTool copied to clipboard
                            
                            
                            
                        The wrong padding loading warning uses `SubmitMessage()`.
Describe the bug
When there is a file length mismatch on game loading, there's a "WARNING: File specified length expectedLength, but read only length (diff padding?)".
But it is written using SubmitMessage() instead of SubmitWarning().
I suppose it's because SubmitWarning() throws an IOException if the WarningHandler is not present.
Then, it's behavior also should be changed.
Reproducing steps
.
Setup Details
- UTMT version - https://github.com/UnderminersTeam/UndertaleModTool/commit/caf04126f273b57bb2200b8739bb9d57e25d8f92