It only happens on multiplayer servers.
The command:
/particle dust 0 0 0 0 ~ ~ ~ 0 0 0 0 0
The kick message is:
Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/35 (qk) was larger than I expected, found 12 bytes extra whilst reading packet 35
Code Analysis
Code analysis by @unknown can be found in this comment.
Linked issues
is duplicated by 2
Comments 4
Codewise, this is due to color vectors being written as doubles, but read as floats (see DustParticleOptions fromNetwork vs. DustParticleOptionsBase#writeToNetwork)
Can confirm.