Certain Invisible Item Drops
Describe the bug Certain items containing specific item components will be invisible while dropped from your inventory.
Software brand Paper 1.21.1
Plugins
How To Reproduce
- Obtain an item with item components similar to the item in question.
- Drop it on the ground.
- Observe it being invisible.
- Try to pick it up to determine it was dropped.
Expected behavior Item in question should be visible when dropped.
Screenshots N/A
Additional context Server Latest.log on pastebin: https://pastebin.com/La90Qa8c "/paper dumpitem" output: minecraft:paper[jukebox_playable={song: "redux:moyai"},custom_model_data=9000067,max_stack_size=1,custom_name='{"extra":[{"bold":false,"italic":false,"obfuscated":false,"strikethrough":false,"text":"Music Disc","underlined":false}],"text":""}',custom_data={CheesyCraft: "MoyaiManor"},rarity="rare"]
Note that this might be related to (https://github.com/retrooper/packetevents/issues/1011)
Yes, most likely, the component of the effect contained in the food is to blame for this, well, for me personally.
This issue is still present with the "jukebox_playable" item component from the "/paper dumpitem" above.
Tested on dev builds:
Are there any errors shown in the console?
Here is a snippet of the logs immediately after dropping said item on the ground, which spams the console. https://pastebin.com/hxXJkhP3
Does it still happen on the latest version? @GentlemanCheesy
Cannot replicate this issue on current version of packet-events. Same item as the original works fine.
Great! :) @booky10 can be closed