aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-14 03:56:36 +0000
committermat <git@matdoes.dev>2025-02-14 03:56:36 +0000
commit4fb6b077464e14f816e4c4fe54ff648e8c3d0ede (patch)
tree69294c712f21c768243a8c9ce594280e9ab36d75 /azalea-client
parent02f50c2dc594a8ceb4a862912db2facc33a5966b (diff)
downloadazalea-drasl-4fb6b077464e14f816e4c4fe54ff648e8c3d0ede.tar.xz
upgrade deps
Diffstat (limited to 'azalea-client')
-rw-r--r--azalea-client/src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 2221cee7..63026c96 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -717,7 +717,7 @@ impl Client {
///
/// This is a shortcut for `*bot.component::<TabList>()`.
pub fn tab_list(&self) -> HashMap<Uuid, PlayerInfo> {
- self.component::<TabList>().deref().clone()
+ (*self.component::<TabList>()).clone()
}
/// Call the given function with the client's [`RegistryHolder`].