Jump to content

SkyWatcher

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

SkyWatcher's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The problem is that you are writing the ItemStack to compound, but adding item to the tag list. When you are reading from nbt, you are reading the contents of the tag list, which doesn't contain any of the ItemStacks. Changing stack.writeToNBT(compound); into stack.writeToNBT(item); in writeToNBT should fix this problem.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.