[Bug] Crash rendering modular tools with no modular item tags
LegoMaster3650 opened this issue ยท 1 comments
Observed behaviour
Items with nbt but no modular item tags crashing the game (also appears related to #694 and #693, with both having a similar error and stack trace, although the crossbow one requires no NBT data to be set, so it may be slightly different unless crossbows add their own nbt instantly)
Expected behaviour
Items with nbt but no modular item tags not showing at worst, certainly not crashing
Steps to reproduce
- Launch the game with tetra
/give @s tetra:modular_double{garbagejson:"among us"}
(or any non-tetra tags)- Observe the game as it crashes (It appears to expect items with NBT to have at least 1 tetra material or something)
Crashlog
https://gist.github.com/LegoMaster3650/d054cc764542e4e8e83aa796256821eb
Tetra version
5.0.1
mutil/mGui version
5.1.0
Forge version
1.19.2-43.2.0
Other mods
None.