aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-08-24 21:03:05 -0500
committermat <github@matdoes.dev>2022-08-24 21:03:05 -0500
commitc64f10605bef9e5bf459b011b86ac6282b3d22e4 (patch)
treed120a4de789b7cb778a75d80a8747be9b5e0ba8e
parente33d57e767a8cc87d9616298c10b374fa0c72efe (diff)
downloadazalea-drasl-c64f10605bef9e5bf459b011b86ac6282b3d22e4.tar.xz
fix
-rwxr-xr-xazalea-nbt/src/tag.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-nbt/src/tag.rs b/azalea-nbt/src/tag.rs
index 0e3ce08e..de57b0a2 100755
--- a/azalea-nbt/src/tag.rs
+++ b/azalea-nbt/src/tag.rs
@@ -116,7 +116,7 @@ impl Tag {
}
#[inline]
- pub fn as_bytearray(&self) -> Option<&Vec<i8>> {
+ pub fn as_bytearray(&self) -> Option<&[u8]> {
if let Tag::ByteArray(v) = self {
Some(v)
} else {