Crash opening a chest at the boss room of an itherian realm

PC v0.23.6 . The loot window popped up, but it was empty, displaying ‘Page 1/0’. Then the game crashed with the following message:


############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_artifactbox:

Push :: Execution Error - Variable Index [0,-5] out of range [1,31] - -1.items(100741,-5)
at gml_Object_obj_artifactbox_Draw_64
############################################################################################

stack frame is
gml_Object_obj_artifactbox_Draw_64 (line -1)

I didn’t get to upgrade my talismans :c

Pretty sure (but not positive) that I found the problem to this, thanks!