Advanced Peripherals

Advanced Peripherals

29M Downloads

Items do not stack

Leialoha opened this issue ยท 1 comments

commented

Describe

Whenever using the Inventory Manager, any items placed into a container (like a barrel) the item gets {tag:{}} added to it's NBT. This make it so new crafted items do no stack with items taken out of the barrel (unless the item is sent to the barrel).

Steps to reproduce

  1. Use peripheral inventoryManager
  2. Get the item from the players inventory using manager.getItems()
  3. Set the items "fromSlot" nbt to the item's slot
  4. Use manager.removeItemFromPlayerNBT()

You can use my script from here to test this out.

Multiplayer?

Yes

Version

1.18.2-0.7.31r (Latest 1.18.2)

Minecraft, Forge and maybe other related mods versions

Forge 40.2.4 Minecraft 1.18.2

Screenshots or Videos

No response

Crashlog/log

No response

commented

I at least can't reproduce this in 1.18, maybe I fixed it accidentally
I will close this, feel free to re-open the issue if you are still able to reproduce this