mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +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?;
|
bot.disconnect().await?;
|
||||||
}
|
}
|
||||||
let entity = bot
|
let entity = bot
|
||||||
.world
|
.world()
|
||||||
.read()
|
|
||||||
.entity_by_uuid(&uuid::uuid!("6536bfed-8695-48fd-83a1-ecd24cf2a0fd"));
|
.entity_by_uuid(&uuid::uuid!("6536bfed-8695-48fd-83a1-ecd24cf2a0fd"));
|
||||||
if let Some(entity) = entity {
|
if let Some(entity) = entity {
|
||||||
if m.content() == "goto" {
|
if m.content() == "goto" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue