Describe the bug
It seems there is problem with serialization of potion_contents component in newest PE. The problem most likely is not in AntiHealthIndicator - I have similar issues in my plugin when trying to read EntityMetadata packet...
How To Reproduce
run one of the following commands:
a) /give @p tipped_arrow[potion_contents={custom_color:0}] 1
b) /give @p tipped_arrow[potion_contents={custom_effects:[{id:"minecraft:wither"}]}] 1
Expected behavior
The player will get those items, no errors in console and the player won't be kicked
Describe the bug It seems there is problem with serialization of potion_contents component in newest PE. The problem most likely is not in AntiHealthIndicator - I have similar issues in my plugin when trying to read EntityMetadata packet...
Software brand Paper 1.21.3
Plugins packetevents 2.6.0 Bram1903/AntiHealthIndicator 2.3.0
How To Reproduce run one of the following commands: a)
/give @p tipped_arrow[potion_contents={custom_color:0}] 1
b)/give @p tipped_arrow[potion_contents={custom_effects:[{id:"minecraft:wither"}]}] 1
Expected behavior The player will get those items, no errors in console and the player won't be kicked
Additional context https://pastebin.com/Dqt8kpUb