Ah, I'm running your bots mod, that must be causing it(I've worked with bots and this issue never came up before, and I was a bit puzzled as to why it was happening).
Jervan, that was on my list of things to try, but a large number of functions are called when you(or a bot) die(i.e, there's armor::disabled, gameconnection::ondeath, etc.), and I needed to know which one is doing it specifically(also, trace doesn't work out well for me because of the amount of stuff going on at once)
Thanks.