When you die you stay right where you died.
I believe Jacob is aware of this (he was on earlier). The best thing to do is not abuse the glitch. Just stay on spectate mode, is the best thing to do.
May I ask what the problem was? in the code?
The problem was me writing updates in class where I couldn't test them properly...