dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.03k stars 258 forks source link

Console spam and item not being dropped when press Q #3157

Open Vaykz opened 2 months ago

Vaykz commented 2 months ago

Describe the bug A clear and concise description of what the bug is. Hi ! The bug is that when dropping an item, it is not being dropped and this error message appears in my console

protocollib error log.txt

To Reproduce Steps to reproduce the behavior: I take this item: {id: "minecraft:diamond_horse_armor", count: 1, components: {"minecraft:attribute_modifiers": {show_in_tooltip: 0b, modifiers: [{type: "minecraft:generic.attack_speed", amount: -3.7d, operation: "add_value", id: "minecraft:fc37feb2-9e10-4dc9-89ba-32e064bd9e8d", slot: "mainhand"}]}, "minecraft:lore": ['{"extra":[{"bold":false,"color":"gray","italic":false,"obfuscated":false,"strikethrough":false,"text":"85 / 85","underlined":false}],"text":""}'], "minecraft:custom_name": '{"extra":[{"bold":false,"color":"gray","italic":false,"obfuscated":false,"strikethrough":false,"text":"Axe","underlined":false}],"text":""}', "minecraft:custom_model_data": 1011, "minecraft:custom_data": {PublicBukkitValues: {"score:usage": 85, "executableitems:ei-id": "axe", "score:score-damage": "%rng_10,12%"}}}} Then I dropped it It disappears and a message console appears

Expected behavior It should be dropped, but disappears

Screenshots Not applicable

Version Info Provide your ProtocolLib install info with /protocol dump through pastebin. 5.3.0-SNAPSHOT-726 dump-2024-07-29_22.13.03.txt

Additional context Add any other context about the problem here. Not applicable

I hope I did everything right, its my first time, any question I hope I can answer here