Crash and corruption when entering invalid NBT data for a gem
KianKhadempour opened this issue ยท 1 comments
Bug description
When giving yourself a gem with the gem type of apotheosis:core/*
, the game crashes and corrupts your inventory.
Minecraft version
1.20.1
Mod version
7.3.5
Mod loader and version
Forge 47.2.21
Steps to reproduce
- Run command
/give @p apotheosis:gem{gem:"apotheosis:core/*"}
- Crash
- Notice
Expected behavior
It should not crash but instead display an error, as '*' is not a valid gem type.
Log files
In this log I simply used /give
to crash the game.
In this log I was trying to filter a pipe from the Pipez mod using a *, which is what originally caused the crash.
Screenshots
Crash with /give
:
2024-06-26.17-19-33.mp4
Crash with Pipez: