aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/entity_ref/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/entity_ref/mod.rs')
-rw-r--r--azalea/src/entity_ref/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/entity_ref/mod.rs b/azalea/src/entity_ref/mod.rs
index db22f555..94d2fe0a 100644
--- a/azalea/src/entity_ref/mod.rs
+++ b/azalea/src/entity_ref/mod.rs
@@ -151,7 +151,8 @@ impl EntityRef {
/// Look at this entity from the client that created the `EntityRef`.
pub fn look_at(&self) -> AzaleaResult<()> {
- Ok(self.client.look_at(self.eye_position()?))
+ self.client.look_at(self.eye_position()?);
+ Ok(())
}
/// Returns the distance between the client's feet position and this