NBT Lists don't work

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.

Same issue that was closed: #1682 (closed)

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"}]}

Proposed fixes

I don't know the exact source or fix. Best guess, there is an error in the code that makes any list blank.

Assignee Loading
Time tracking Loading