Quarries pose as their owners for can_dig calls

Some mods assume can_dig(pos, player)'s player to be a proper, existing player. However, there have been issues in the past with quarries not having their owner set for some reason.