diff options
| author | mat <github@matdoes.dev> | 2022-08-24 21:03:05 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-08-24 21:03:05 -0500 |
| commit | c64f10605bef9e5bf459b011b86ac6282b3d22e4 (patch) | |
| tree | d120a4de789b7cb778a75d80a8747be9b5e0ba8e | |
| parent | e33d57e767a8cc87d9616298c10b374fa0c72efe (diff) | |
| download | azalea-drasl-c64f10605bef9e5bf459b011b86ac6282b3d22e4.tar.xz | |
fix
| -rwxr-xr-x | azalea-nbt/src/tag.rs | 2 |
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 { |
