-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Item Signature Updates on Inventory Movement Preventing Stacking #11753
Comments
custom signature? |
Metadata |
You're going to need to provide more information, such as means of reproduction and how you're adding that data, I'm not going to run an interrogation |
If any property of two items except the amount is different then the items cannot stack. Not much you can do with that, because by stacking the two stacks become one and the conflicting data would be lost... The only way I can think of is to manually handle inventory operations and stack the items manually, while preserving how big part of the stack is marked which way... But I wouldn't go that rabbit hole.... |
The data is being automatically generated for the item when using custom attributes like a textured head. This is the data of an example item, the only difference is a slight change in the Data 1: These are nearly identical but differ at specific characters, such as "MBw" in Data 1 vs. "MBg" in Data 2. |
stack1
stack2
So, ItemMeta looks to be stripping data from the skull, in part due to the skull not being properly populated with data |
Apologies for the delay in responding. After some digging, I’ve found the root cause of the issue. It seems that the bug occurs when joining the server using the Fabric Loader mod. To help illustrate the problem, I’ve made a screen recording: https://imgur.com/a/9vT6Y9G |
Appears to be a problem with ViaVersion. |
Expected behavior
When moving a custom item inside the inventory, the custom signature of the item should remain unchanged, ensuring the item can stack with other identical items without issue.
Observed/Actual behavior
When moving a custom item within the inventory, the custom signature is updated. While the item's visible properties (e.g., display name, lore) remain identical, the updated custom field prevents it from stacking with other items.
Steps/models to reproduce
Plugin and Datapack List
Paper version
This server is running Paper version 1.21.3-81
Other
No response
The text was updated successfully, but these errors were encountered: