fixed infinite recursion bug when digging