aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-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`].