diff options
| author | mat <github@matdoes.dev> | 2022-04-30 02:10:21 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-30 02:10:21 -0500 |
| commit | 153b5b45e42a031e9ee7dd2764840b07ce1cb47b (patch) | |
| tree | b8673fbad5ceb31d7bfa29a364415ca8804e2a91 /azalea-protocol/src/packets | |
| parent | c37fcfe4da7a55208bf8241c7a776905513d5e0e (diff) | |
| download | azalea-drasl-153b5b45e42a031e9ee7dd2764840b07ce1cb47b.tar.xz | |
misc fixes
Diffstat (limited to 'azalea-protocol/src/packets')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs index 33b710d5..afaa7fdd 100755 --- a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs @@ -76,7 +76,7 @@ impl<T: McBufWritable> McBufWritable for BrigadierNumber<T> { if self.max.is_some() { flags |= 0x02; } - buf.write_i8(flags); + buf.write_byte(flags)?; if let Some(min) = &self.min { min.write_into(buf)?; } |
