Skip to content
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-Model-Data gets lost with minecraft item type: "bundle" #24

Closed
ExCorde opened this issue Feb 17, 2023 · 2 comments
Closed

Custom-Model-Data gets lost with minecraft item type: "bundle" #24

ExCorde opened this issue Feb 17, 2023 · 2 comments
Labels
2.7.0 Added bug Something isn't working Solved Solved problems

Comments

@ExCorde
Copy link

ExCorde commented Feb 17, 2023

Describe the bug
Custom-Model-Data gets lost with minecraft item type: "bundle"

To Reproduce
Steps to reproduce the behavior:

  1. Save a bundle to json.
  2. Give a bundle from json.

When saving:
[skJson] [STDOUT] SOURCE: ItemStack{BUNDLE x 1, BUNDLE_META:{meta-type=BUNDLE, display-name={"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Paket"}],"text":""}, lore=[{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"An: "},{"bold":false,"italic":true,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"Kalabweg 1, Daria"}],"text":""}], custom-model-data=1, items=[ItemStack{SPRUCE_WOOD x 64}]}}

When giving:
[10:10:34 INFO]: [skJson] [STDOUT] SOURCE: ItemStack{BUNDLE x 1, BUNDLE_META:{meta-type=BUNDLE, display-name={"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Paket"}],"text":""}, lore=[{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"An: "},{"bold":false,"italic":true,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"Kalabweg 1, Daria"}],"text":""}], items=[ItemStack{SPRUCE_WOOD x 64}]}}

Expected behavior
The custom model data should get loaded correctly.

cooffeeRequired added a commit that referenced this issue Feb 18, 2023
@cooffeeRequired
Copy link
Owner

@cooffeeRequired cooffeeRequired added bug Something isn't working Solved Solved problems Added 2.7.0 labels Feb 18, 2023
@ExCorde
Copy link
Author

ExCorde commented Feb 18, 2023

The bug was fixed and tested by community tester "ExCorde".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7.0 Added bug Something isn't working Solved Solved problems
Projects
None yet
Development

No branches or pull requests

2 participants