Flames and lost stuff

So I was just in my house on survival2 on the server and out of nowhere (twice) I burst into flames and died. the second time I died all my stuff disappeared. Is there a way to get my stuff back or at least make sure this doesn’t happen again? Is it a bug or what?

Spontaneous combustion is serious guys…
https://www.youtube.com/watch?v=UIgwY1pRzTw