When using a Get out of Jail Free card in a Boss Rush to escape, I got the following run-time error:
[INFO] - Error in "PostUseItem" call: ...rth/mods/minimapi_1978904635/scripts\minimapapi\main.lua:1437: attempt to index a nil value
Which corresponds to this function: