Advanced Peripherals

Advanced Peripherals

29M Downloads

Some items do not stack anymore after being removed from the player inventory using the ME bridge

ralphgod3 opened this issue · 4 comments

commented

Descripe

when pulling out items from the player inventory using removeItemFromPlayer with the inventory manager some items refuse to stack until placed in the world and broken.

this was tested with both vanilla and moded items.

tested using oak logs, computercraft mining turtles, mekanism logistical transporters.
the logistical transporters stopped stacking, turtles stacked like they normally would but interestingly oak logs also stopped stacking after being pulled out of the inventory.

I did check with the inventory manager list method to see if nbt data changed which it did not
logs dont show anything happening either (should be between 1:20 and 1:30 in the timestamps)

Steps to reproduce

1 setup inventory manager
2. pull item from player inventory
3. retrieve item from the chest you pushed the item into from player inventory
4. try to get them to stack (this does not happen on all items just some and its not limited to modded items either)

Multiplayer?

Yes

Version

0.7r (Latest)

Minecraft, Forge and maybe other related mods versions

forge 36.2.0 mc 1.16.5 cc 1.98.1

Screenshots or Videos

https://i.gyazo.com/61e3b969332b28e35db00cd0f74e793d.mp4

Crashlog/log

https://pastebin.com/8Vb8H7ez

commented

I also experienced this bug but with addItemToPlayer I just run the command multiple times, it stacks if u only run it once but I made a Video of the wired behavior.

2021-09-07.21-35-51.mp4
commented

Hey I just realised this always happens when I use ´getItems()´ with every item in my inventory.
I just wrote a little test programm to test out how ´getItems()´ works and my items never stack after I used it.

2021-09-13.20-45-44.mp4
commented

It appears that getItems() adds an nbt-tag to items which usually don't have one. You can see that by enabling the debug tooltips via F3+H and then hovering over the affected items, they will have an empty nbt-tag ("{}") instead of none.

(and i created another duplicate of this issue with possibly more details: #205 )

commented

Fixed in 0.7.4r