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

Issue with some nbt components #1099

Open
sugiharaxo opened this issue Dec 24, 2024 · 0 comments
Open

Issue with some nbt components #1099

sugiharaxo opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sugiharaxo
Copy link

Describe the bug
My log is being spammed to the point where im unable to read any information at all.
There are two bugs, one where the log gets an error when you move an item, and another where the log gets spammed every tick just for having an item in your inventory. The bugs happen because of nbt components

Software brand
This server is running AdvancedSlimePaper version 1.21.3-16525-dev/1.21.3@d5ade1e (2024-12-15T21:45:37Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.3-16421-1bac93b (MC: 1.21.3)

Plugins
image

How To Reproduce

  1. Get an item with the following NBT data
    {"minecraft:custom_name":'{"italic":false,"text":"ʙʀᴇᴀᴅ ʟᴏᴀꜰ"}',"minecraft:food":{nutrition:4,saturation:0.0f},"minecraft:lore":['{"color":"#C1916A","extra":[{"bold":true,"color":"#A5F796","extra":[{"bold":false,"color":"#D6D6D6","text":"2"}],"text":"↑"}],"italic":false,"text":"🍖 "}'],"minecraft:max_stack_size":1}
  2. Move the item around in the inventory
  3. Look at logs

Screenshots

(Console spam)
https://github.com/user-attachments/assets/b5e97db8-fc4f-40d5-8a18-602a4244febb
(1st item with food component, 2nd item without)
https://github.com/user-attachments/assets/f1459978-bdbc-4681-932c-ed36d7156cc5

Additional context
log of 2nd bug
https://mclo.gs/3ihRYDD

@sugiharaxo sugiharaxo added the bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant