#requirements dont check correctly

1 messages · Page 1 of 1 (latest)

dire wasp
#
    material: VERDANT_FROGLIGHT
    slot: 22
    display_name: '&c&lHT3 Arena'
    lore:
      - "&7Телепорт на HT3 Arena"
    click_requirement:
      minimum_requirements: 1
      stop_at_success: false
      deny_commands:
        - "[message] &cУ вас нет доступа к данной арене."
      requirements:
        tier_check:
          type: javascript
          expression: '%tier_sword_priority% <= 10'
        perm_check:
          type: has permission
          permission: ffa.ramp.arena
    click_commands:
      - '[console] ffa kit beast %player_name%'
      - '[console] ffa spawn ht3 %player_name%'
      - '[close]' ```
#

here is the full

#

it checks only first req, if i permuter them it will check another. but not both Also same problem with two javascripts . I want to make OR logic

novel obsidian
dire wasp
#

все из-за строки optional