[SPIGOT-5656] Item NBT being re-organized, creating Item Stacking issues. Created: 04/Apr/20  Updated: 05/Apr/20  Resolved: 05/Apr/20

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

Type: Bug Priority: Minor
Reporter: John Roberts Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SPIGOT-5063 Deserialized items with colored names... Resolved
Version: 1.15.2
Guidelines Read: Yes

 Description   

Sometimes an Item's NBT data will be mixed up and permanently prevent it from stacking to items of the same Type and NBT.
For Example:
Item's NBT before issue: 
item_name{display:{Name:'

{"text":"Dragon Scale","color":"green","italic":false}

'}}

Item's NBT after issue:
item_name{display:{Name:'

{"text":"Dragon Scale","italic":false",color":"green"}

'}}

This causes them to be considered different items due to the Order at which the NBT is presented in the game.
it happens randomly to items that are being given through /give commands as well as when you attempt to quick transfer between chest and inventory using ShiftClick.

I have tested the following things which conclude that Spigot/Bukkit is the issue....

  • Issue does not occur on Vanilla Server of exact same world files/items.
  • Issue does not occur on Vanilla Local worlds with same world files/items.
  • Issue is only reproducible when playing the world on either a Bukkit or Spigot server jar.

Useful Information:

  • I do not use plugins of any kind.
  • Items that are affected are ANY/ONLY items that have NBT data for Name/Custom Tags/Lore etc.
  • Consistently attempting to stack the stack glitched items can sometimes cause them to Duplicate.
  • Issue occurs regardless of Item being involved.


 Comments   
Comment by John Roberts [ 05/Apr/20 ]

md_5 ,The "Duplicate" you say this is related to, has NOTHING to do with my issue. i have read over their statement of their bug/issue and it is nothing related.
I am led to believe that you glanced over my description of my issue instead of properly evaluating the details, otherwise you would never have "Resolved" it as a duplicate of an unrelated problem.

 

Comment by John Roberts [ 04/Apr/20 ]

i have over 2 double chests of the same item but in slots of 1-14 instead of 64 because their nbt order keeps changing making them different items by data. its breaking my game.

Comment by John Roberts [ 04/Apr/20 ]

Considering the impact it has on the game. making any server or world completely un playable unless it only uses vanilla items, yes it is major. it is 100% absolutely a major issue. not just to me. for anyone.
the items become Permanently reorganized in their data. this means the ONLY way to play the world/server that has the bug is to wait for a fix so that the items earned in the time waiting for a fix dont have to be deleted. because it must be deleted in order to match with items obtained after the fix because there is no way for the game to know which textual data order was Intended or which was Mixed by the glitch. so yeah, considering i and others have massive multiplayer servers that rely on spigot for online play , yes. this is a MAJOR issue.

 

Comment by Black Hole [ 04/Apr/20 ]

Only a few issues are "major". This might be the most important issue for you at the moment, but it isn't compared to most other issues that are minor, too.

Generated at Sat Dec 13 15:24:32 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.