Reordering ifs to be more efficient

A check to see if the player is sneaking is much easier than a permission check and a config check and makes more sense to be checked first in an event that is called so often.