Fixed bug that occurred when the player is dead (making the SWEP invalid)