Fixed respawn cooldown checks

Thanks @Riking for pointing this out!
Use cooldownExpired here as well.
Updated to the new format!