Magic

Magic

190k Downloads

CheckInventory not working on Bows

NightScythe1 opened this issue ยท 1 comments

commented

Can't use checkinventory to check for a bow:

bow_arrow:
  triggers:
    - launch
  actions:
      cast:
      - class: CheckInventory
        slot: mainhand
        item: snowball
        actions:
          - class: Retarget
            target: none
            actions:
              - class: Projectile

This is supposed to check if the player has a bow in their hand & launch an arrow if they do. It doesn't work, but will work if checking for other items like snowballs

commented

Update: same issue with crossbows