aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_set_structure_block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_set_structure_block.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_set_structure_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/s_set_structure_block.rs b/azalea-protocol/src/packets/game/s_set_structure_block.rs
index 360d34fc..8d518292 100644
--- a/azalea-protocol/src/packets/game/s_set_structure_block.rs
+++ b/azalea-protocol/src/packets/game/s_set_structure_block.rs
@@ -1,4 +1,4 @@
-use std::io::{Cursor, Write};
+use std::io::{self, Cursor, Write};
use azalea_buf::AzBuf;
use azalea_buf::{AzaleaRead, AzaleaWrite};
@@ -83,7 +83,7 @@ impl AzaleaRead for Flags {
}
impl AzaleaWrite for Flags {
- fn azalea_write(&self, buf: &mut impl Write) -> Result<(), std::io::Error> {
+ fn azalea_write(&self, buf: &mut impl Write) -> io::Result<()> {
let mut set = FixedBitSet::<3>::new();
if self.ignore_entities {
set.set(0);