Apotheosis

Apotheosis

79M Downloads

Crash and corruption when entering invalid NBT data for a gem

KianKhadempour opened this issue ยท 1 comments

commented

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

  1. Run command /give @p apotheosis:gem{gem:"apotheosis:core/*"}
  2. Crash
  3. 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.

https://mclo.gs/Oue5PYR#L4912

In this log I was trying to filter a pipe from the Pipez mod using a *, which is what originally caused the crash.

https://mclo.gs/PjqU04C#L6307

Screenshots

Crash with /give:

2024-06-26.17-19-33.mp4

Crash with Pipez:

2024-06-25.20-06-00.mp4
commented

That was quick! Thank you for developing such an awesome mod.