Bump named-binary-tag to 0.6
This commit is contained in:
parent
31041b8fe2
commit
4a4f2e2a1c
@ -16,4 +16,4 @@ byteorder = "1"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
uuid = { version = "0.7", features = ["v4", "serde"] }
|
||||
named-binary-tag = "0.2"
|
||||
named-binary-tag = "0.6"
|
||||
|
@ -78,7 +78,7 @@ impl<W: Write> EncoderWriteExt for W {
|
||||
}
|
||||
|
||||
fn write_compound_tag(&mut self, value: &CompoundTag) -> Result<(), EncodeError> {
|
||||
nbt::encode::write_compound_tag(self, value.clone())?;
|
||||
nbt::encode::write_compound_tag(self, &value)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user