azalea-rs / azalea

A collection of Rust crates for making Minecraft bots, clients, and tools.
https://azalea.matdoes.dev
MIT License
361 stars 48 forks source link

Fix command packets #155

Closed EnderKill98 closed 2 months ago

EnderKill98 commented 2 months ago

I finally tracked down, why commands don't work and cause the client to disconnect.

The packet has its contents copied from the "Signed" counterpart, which is unexpected. Thus most servers kick you for it.

This should address it.

Fixes https://github.com/azalea-rs/azalea-viaversion/issues/4