aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_container_set_content.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_container_set_content.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_container_set_content.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_container_set_content.rs b/azalea-protocol/src/packets/game/c_container_set_content.rs
index 33fbf77b..2b315a5a 100755
--- a/azalea-protocol/src/packets/game/c_container_set_content.rs
+++ b/azalea-protocol/src/packets/game/c_container_set_content.rs
@@ -19,7 +19,6 @@ mod tests {
use azalea_buf::AzaleaRead;
use super::ClientboundContainerSetContent;
- use crate::packets::ProtocolPacket;
#[test]
fn test_read_write_container_set_content() {
@@ -29,7 +28,7 @@ mod tests {
0, 0, 0, 0, 0, 0, 0, 1, 196, 6, 0, 0, 0,
];
let mut buf = Cursor::new(contents.as_slice());
- let packet = ClientboundContainerSetContent::read(&mut buf).unwrap();
+ let packet = ClientboundContainerSetContent::azalea_read(&mut buf).unwrap();
println!("{:?}", packet);
assert_eq!(buf.position(), contents.len() as u64);