mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix bot/main.rs
This commit is contained in:
parent
fa290b30f2
commit
fd18cae476
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ async fn handle(mut bot: Client, event: Event, _state: State) -> anyhow::Result<
|
|||
bot.disconnect().await?;
|
||||
}
|
||||
let entity = bot
|
||||
.world
|
||||
.read()
|
||||
.world()
|
||||
.entity_by_uuid(&uuid::uuid!("6536bfed-8695-48fd-83a1-ecd24cf2a0fd"));
|
||||
if let Some(entity) = entity {
|
||||
if m.content() == "goto" {
|
||||
|
|
Loading…
Add table
Reference in a new issue