aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/testbot/commands.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-05 17:47:46 +0500
committermat <git@matdoes.dev>2026-01-05 17:47:46 +0500
commit8c9b3c98cb6afd7484cc44c35965e6d2436e6d37 (patch)
tree68f5a0f6d84bbd3a255ac654ee38da987fcd90ea /azalea/examples/testbot/commands.rs
parentdb9a9e53ca18911fb2045b7d6af4ed6df388eaaa (diff)
downloadazalea-drasl-8c9b3c98cb6afd7484cc44c35965e6d2436e6d37.tar.xz
pathfinder swimming
Diffstat (limited to 'azalea/examples/testbot/commands.rs')
-rw-r--r--azalea/examples/testbot/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs
index beb87510..930f41ca 100644
--- a/azalea/examples/testbot/commands.rs
+++ b/azalea/examples/testbot/commands.rs
@@ -30,7 +30,7 @@ impl CommandSource {
}
}
- pub fn entity(&mut self) -> Option<azalea::EntityRef> {
+ pub fn entity(&self) -> Option<azalea::EntityRef> {
let username = self.chat.sender()?;
self.bot
.any_entity_by::<&GameProfileComponent, With<Player>>(