I still encountered this problem when creating a menu using the DeluxeMenu plugin. In general, I make a menu and like many others, I add enchantments to the item so that it looks nice, but there is nothing floating there, nothing is removed, neither attributes nor enchantments. Here is the problem, and the code will be below, if anyone helps, thank you very much!
Version Server - Paper 1.21
Plugin version DeluxeMenu - 1.14.0
'rare':
material: netherite_sword
slot: 11
display_name: '&#f89d57Rare item'
lore:
''
' &fЗдесь Вы можете приобрести различные'
' &fпредметы, которые упростят добычу ресурсов.',
'',
'&#f89d57➥ &fНажмите, чтобы открыть.',
enchantments: # временно закомментируйте
'MENDING;1',
item_flags:
HIDE_ATTRIBUTES
HIDE_ENCHANTS,
,
click_commands:
'[openguimenu] donateshop_rare',
'[sound] ITEM_BOOK_PAGE_TURN'
Через hide_enchantments: true I tried - nothing worked, dragging it up didn't work either