mojira.dev
MC-207900

Summoning "dust" or "dust_color_transition" particles kicks nearby players when on a server

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

Comments 4

The same error also happens with the particle "dust_color_transition".

Codewise, this is due to color vectors being written as doubles, but read as floats (see DustParticleOptions fromNetwork vs. DustParticleOptionsBase#writeToNetwork)

I lost my 20w49a server because I put /particle dust_color_transition command on repeating command block

Thanks for fixing this mojang

 

I'm first to Jira so if this type of comments are not allowed please let me know

uyp

mgatland

Community Consensus

Very Important

Commands

20w49a, 20w51a

21w03a

Retrieved