Fixed the issue where "restriction.cooldown" would not be used

I made this change for our Minecraft server.

I was reading the code and that's how I noticed this little, and insignificant bug, but I figured I'd fix it anyway.

So here's the fix :)