Patchouli

Patchouli

168M Downloads

Missing Icon crashes to desktop instead of warning the user

Closed this issue ยท 0 comments

commented

Mod loader

Forge

Minecraft version

1.18.1

Patchouli version

1.18.1-61

Modloader version

Forge-1.18-38.0.17

Modpack info

No response

The latest.log file

https://pastebin.com/KFCcejW8

Issue description

A missing Icon field crashes to desktop instead of throwing an error at the book rendering stage. This is inconsistent with other patchouli related errors, like malformed JSON, missing recipes, etc. The crash report should be clarified as to which page the icon is missing for, or the book should fail to load and instead display an error.

Steps to reproduce

Create book entry
Do not include an icon
Load the category the entry is in

Other information

No response