dmulloy2 / ProtocolLib

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

Players getting disconnected (clientbound/minecraft:update_attributes) #3041

Closed Nunchakin closed 1 day ago

Nunchakin commented 4 days ago

Describe the bug Players are (randomly?) getting disconnected from my survival server, idk whats causing it sometimes its after executing command sometimes its after just joining idk srry, the error: https://pastebin.com/GY0YMqNc

To Reproduce idk srry

Expected behavior Players not getting disconnected

Screenshots image

Version Info https://pastebin.com/THGiQGSN

Ingrim4 commented 1 day ago

This is an issue caused by another plugin and doesn't have anything to do with ProtocolLib as far as I can tell. The plugin sends a ClientboundUpdateAttributesPacket and while sending it changes values inside a field of the packet which causes the error. You would need to report this to the plugin author, problem is the error doesn't tell us what plugin sent the invalid packet, should be a plugin that modifies entity attributes (speed, health, attack_range, attack_speed, armor, etc.).

Nunchakin commented 1 day ago

Yeah fixed in ItemsAdder sorry