[SPIGOT-1002] Identical items refuse to stack Created: 24/Jun/15  Updated: 30/Jun/15  Resolved: 27/Jun/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alexey Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: itemstack
Environment:

Windows 7 x64, Java 1.8.0_45 x64


Attachments: PNG File 2015-06-24_23.25.04.png     PNG File 2015-06-24_23.25.07.png    

 Description   

Players are complaining about some "inventory bugs". No matter, in player inventory, in chest or between them items sometimes refuses to stack together without a reason, like on attached screenshots.
(Sandstone on the screenshots was mined from the same naturally generated pyramid). After removing all plugins problem remains.
Maybe it's logically right to allow stacking items without NBT tags and items with empty NBT tag?



 Comments   
Comment by Alexey [ 30/Jun/15 ]

Thanks a lot! It seems Authme indeed was causing this!

Comment by bob tommy [ 29/Jun/15 ]

there is a version of authme that causes this you should look into backing up then updating and testing if it fixes

https://www.spigotmc.org/threads/solved-items-sometimes-dont-stack.29701/

hope i helped

it only stops new items from becoming like this dosnt help the old ones

Comment by Alexey [ 27/Jun/15 ]

Thank you, but is still weird... PowerNBT returns "compound: empty compound" in most cases, but rarely items have "no value". Have no idea, what kind of plugin could be involved... most of features on my server i coded myself in CommandHelper and i never messed up with nbt... Other plugins - WE, WG, NCP, PEX, OpenInv, LogOres, AuthMe - probably shouldn't change of delete NBT data... well, will seek. Thank you again!

Comment by blablubbabc [ 25/Jun/15 ]

The items are not strictly similar (otherwise they would stack). So some of their internal data has to differ.
What I usually do in this situation is installing a plugin like PowerNBT and displaying the internal data of the item stacks from in-game.
The next and more difficulty step, after identifying the difference, would then be to determine how this difference was created / what modified the items. At this point it might be useful to check through the installed plugins if any of those plugins is somehow modifying/creating/saving/etc. items in some situation (ex. when a block is being mined).

Comment by Alexey [ 25/Jun/15 ]

Players started to complain after updating server to 1.8.

Generated at Tue Apr 08 02:45:57 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.