Fix crash when digging locked chests