Items not stacking properly when getItem() is run
Creeperdan1 opened this issue ยท 1 comments
Describe
Everytime getItems() is run any blocks picked up from mining will become a new stack in the inventory. When the blocks are manually stacked in the inventory and the getItems() is run in a slower loop the newest block stack wont combine with the others even though the seem identical with no tag difference.
Steps to reproduce
- Use peripheral inventoryManager
- Run manager.getItems()
- Pickup Blocks
Fast Loop:
(Keeps making a new stack of dirt everytime it is mined
Slow Loop:
(The dirt wont stack with eachother until the next getItems() cycle)
Multiplayer?
Yes
Version
1.20.1-0.7.38r (Latest 1.20.1)
Minecraft, Forge and maybe other related mods versions
Forge 47.2.20 Minecraft 1.20.1
Screenshots or Videos
No response
Crashlog/log
No response
An empty NBT array "{}" is added to all items in the player's inventory when calling the getItem() function, which is apparently enough to distinguish items from regular items (even though the array is empty). The empty NBT array will disappear if you place a affected block and then break it, making it stackable (with normal stacks) again.