From ba399c4440c2d182f55cba7fab068e1118bcc2b7 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 23 Jun 2022 15:28:33 -0500 Subject: switch things to use azalea-buf --- azalea-core/src/delta.rs | 2 ++ azalea-core/src/particle/mod.rs | 2 ++ 2 files changed, 4 insertions(+) (limited to 'azalea-core/src') diff --git a/azalea-core/src/delta.rs b/azalea-core/src/delta.rs index 32517e0d..a4d02907 100644 --- a/azalea-core/src/delta.rs +++ b/azalea-core/src/delta.rs @@ -1,3 +1,5 @@ +pub use azalea_buf::McBuf; + /// Only works for up to 8 blocks #[derive(Clone, Debug, McBuf)] pub struct PositionDelta { diff --git a/azalea-core/src/particle/mod.rs b/azalea-core/src/particle/mod.rs index fc815a0b..5ca8ac8e 100644 --- a/azalea-core/src/particle/mod.rs +++ b/azalea-core/src/particle/mod.rs @@ -1,3 +1,5 @@ +use azalea_buf::{McBufReadable, McBufWritable}; +use std::io::{Read, Write}; #[derive(Debug, Clone, McBuf)] pub struct Particle { -- cgit v1.2.3