Added check for crouching in onBlockPlace.