aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/azalea-protocol-macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/azalea-protocol-macros/src')
-rw-r--r--azalea-protocol/azalea-protocol-macros/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/azalea-protocol-macros/src/lib.rs b/azalea-protocol/azalea-protocol-macros/src/lib.rs
index bba35762..fcac9c91 100644
--- a/azalea-protocol/azalea-protocol-macros/src/lib.rs
+++ b/azalea-protocol/azalea-protocol-macros/src/lib.rs
@@ -24,13 +24,13 @@ fn as_packet_derive(input: TokenStream, state: proc_macro2::TokenStream) -> Toke
let contents = quote! {
impl #ident {
pub fn write(&self, buf: &mut impl std::io::Write) -> std::io::Result<()> {
- azalea_buf::AzaleaWrite::azalea_write(self, buf)
+ azalea_buf::AzBuf::azalea_write(self, buf)
}
pub fn read(
buf: &mut std::io::Cursor<&[u8]>,
) -> Result<#state, azalea_buf::BufReadError> {
- use azalea_buf::AzaleaRead;
+ use azalea_buf::AzBuf;
Ok(crate::packets::Packet::into_variant(Self::azalea_read(buf)?))
}