Adds click cooldown to clicking on mobs Fixes #4812

If the click was done with anything in your hands it would not add click cooldown.

I'm not sure if this is fully the correct solution - lots of code seems to just do it in the attackby methods