HabitRPG/habitrpg-shared — pull request #295 by Alys (2014-09-02 03:14:04+00:00)
Title: report correct equipment/gear item lost on death (most of the time)

Fixes https://github.com/HabitRPG/habitrpg/issues/2789 most of the time. On my local install, when I die with this new code, I see the wrong item reported maybe 1 in every 20 times, as opposed to about 1 in 1 without this fix.