Register this class as a listener and set the deathmessage to null

This will probably fix your problems.