Issue with lists in items NBTs
Summary
https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Items/Items Following this documentation on how to create items with NBTs in mythicmob, lists of items are not working properly.
It happens in several versions, I tried Catserver 1.16.5 with the 5.2.0 and last version of paper 1.21 and dev build 5152
Steps to reproduce
Add an mythicmob item like this:
testItem:
Id: stick
Display: '&6Test'
Lore:
- '&6Test'
NBT:
list:
- integer: int/427
- value: string
/mm reload /mm items get testItem /data get entity @e[distance=..5,limit=1,type=item,sort=nearest]
You should get:
Current behavior
When performing /data get entity @e[distance=..5,limit=1,type=item,sort=nearest] We get tag: {list: [ ]}
Intended correct behavior
Instead of tag: {list: [{integer: 427, value: "string"}]}
Question
There are 2 possible explainations, either I wrote the syntax wrong and then the documentation could be improved with the correct syntax to use when coming to [ ] or there is an issue with lists management when coming to NBTs in items