Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

Failure to parse thumbnail crashes client

Johni0702 opened this issue ยท 0 comments

commented


Cause Image.read returns null instead of throwing an IOException when it cannot identify the format (as opposed to identifying the format but failing to parse it).

We should handle that case properly instead of crashing the whole client a few lines later:
https://pastebin.com/raw/Y5sZXz65