diff options
| author | mat <github@matdoes.dev> | 2022-10-08 01:01:54 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-08 01:01:54 -0500 |
| commit | 4a0d5e7e96a795e3c30deb49723e4cc3d730e37c (patch) | |
| tree | 7c13661d046ba21a5167f92f861dbb90a347b74b /azalea-core/src/resource_location.rs | |
| parent | 82c04004dbf37b813e1f4223d56b399c40d68e80 (diff) | |
| download | azalea-drasl-4a0d5e7e96a795e3c30deb49723e4cc3d730e37c.tar.xz | |
handle SectionBlocksUpdate packet
Diffstat (limited to 'azalea-core/src/resource_location.rs')
| -rwxr-xr-x | azalea-core/src/resource_location.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/resource_location.rs b/azalea-core/src/resource_location.rs index 5f8dcea1..e810b96e 100755 --- a/azalea-core/src/resource_location.rs +++ b/azalea-core/src/resource_location.rs @@ -94,7 +94,7 @@ mod tests { .write_into(&mut buf) .unwrap(); - let mut buf = &mut &buf[..]; + let mut buf = Cursor::new(&buf[..]); assert_eq!( ResourceLocation::read_from(&mut buf).unwrap(), |
