Trinkets (Fabric)

Trinkets (Fabric)

22M Downloads

Player death with Malum Runic Brooch and keepInventory causes game crash

tesinormed opened this issue ยท 0 comments

commented

Description

A game crash occurs when all of the following conditions are true:

  • A player has died
  • That player had a Runic Brooch equipped
  • keepInventory was true

Being on singleplayer or multiplayer does not affect if the crash occurs.
Only the server crashes; the client is unaffected.
Other similar items which do not remove slots do not cause a crash.

Potential cause

An index out of bounds error in Trinkets due to an empty list causes the crash.

This is probably because the Runic Brooch removes a slot, which makes the list empty.

Versions

  • Minecraft: 1.20.1
  • Fabric Loader: 0.16.5
  • Malum: 1.20.1-1.6.3.0b-fabric
  • Trinkets: 3.7.2

Crash log file

crash-2024-10-16_15.53.23-server.txt