Advanced Peripherals

Advanced Peripherals

29M Downloads

getItemInHand() adding blank NBT to items

superjaja05 opened this issue ยท 0 comments

commented

Describe

When using getItemInHand(), it seems to add some blank NBT to the held item, which causes them to be un-stackable with other regular items

Steps to reproduce

  • Link an inventory manager to yourself
  • Hold an item that doesn't have nbt (like a dirt block)
  • Use getItemInHand()

Multiplayer?

Yes

Version

1.20.1-0.7.40r (Latest 1.20.1)

Minecraft, Forge and maybe other related mods versions

Minecraft 1.20.1, Forge 47.3.10

Screenshots or Videos

https://github.com/user-attachments/assets/922def79-a7a5-4d86-a8fc-4790e348fcfe

Crashlog/log

No response