hello, i have the following menu, when i click to the red glass pane, console gives me a permission, and glass pane must be update to green, but its happening only when i reopen the menu, how to update it without a reopen?
'level1':
material: GREEN_STAINED_GLASS_PANE
data: 1
slot: 21
priority: 1
display_name: '&f&lУровень 1'
view_requirement:
requirements:
permission:
type: has permission
permission: bending.ability.eartharmor
lore:
- '&a&l[ОТКРЫТО]'
- ''
- '&e&lОткрывает способности:'
- '&e&lEarthArmor'
- '&a&lЦена 5000$ и 10 уровень'
'level1_closed':
update: true
material: RED_STAINED_GLASS_PANE
data: 1
slot: 21
priority: 2
left_click_commands:
- "[givepermission] bending.ability.eartharmor"
- "[takeexp] 5L"
- "[sound] UI_TOAST_CHALLENGE_COMPLETE 1 1"
- "[message] &d&lВы ощущаете в &9&lcебе новые &4&lсилы&d!"
left_click_requirement:
requirements:
requirement_name:
type: has exp
level: 5
display_name: '&f&lУровень 1'
lore:
- '&4&l[ЗАКРЫТО]'
- ''
- '&e&lОткрывает способности:'
- '&e&lEarthArmor'
- '&a&lЦена 5000$ и 10 уровень'