aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/resource_location.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2024-07-05 00:45:45 -0500
committerGitHub <noreply@github.com>2024-07-05 00:45:45 -0500
commitea64fba7f655b9afa03d57e8590c16e024f396f3 (patch)
tree728293b8cc852bf6b50a55594589a3b93b96c286 /azalea-core/src/resource_location.rs
parent350e32d0a9f21103e271e80e63daa5711a78e1d7 (diff)
downloadazalea-drasl-ea64fba7f655b9afa03d57e8590c16e024f396f3.tar.xz
upgrade to simdnbt 0.6 (#160)
Diffstat (limited to 'azalea-core/src/resource_location.rs')
-rwxr-xr-xazalea-core/src/resource_location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/resource_location.rs b/azalea-core/src/resource_location.rs
index a6dcc0be..2b0feb71 100755
--- a/azalea-core/src/resource_location.rs
+++ b/azalea-core/src/resource_location.rs
@@ -101,7 +101,7 @@ impl<'de> Deserialize<'de> for ResourceLocation {
}
impl FromNbtTag for ResourceLocation {
- fn from_nbt_tag(tag: &simdnbt::borrow::NbtTag) -> Option<Self> {
+ fn from_nbt_tag(tag: simdnbt::borrow::NbtTag) -> Option<Self> {
tag.string().and_then(|s| s.to_str().parse().ok())
}
}