digging: fix crash when not holding a tool