From fd18cae4765fe498f007b7b8df4bc431f3a4e54e Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 11 Dec 2022 13:34:36 -0600 Subject: fix bot/main.rs --- bot/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot/src') diff --git a/bot/src/main.rs b/bot/src/main.rs index 9e242a0e..78d61940 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -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" { -- cgit v1.2.3