1
2
Fork 0
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:
mat 2022-12-11 13:34:36 -06:00
parent fa290b30f2
commit fd18cae476

View file

@ -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" {