Don't clear spells for a dead player, preventing resurrection problems
Here's my suggested solution for issue #5422.
There are other related issues – such as actors also losing their spells when resurrected – but they require more significant changes, so let's take it one step at a time.