From beaa38908d22f7aa0f8008492bb506b84c04f947 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Thu, 16 Apr 2026 20:29:57 -0400 Subject: [PATCH] fix(movement): flip without_mining --- src/lua/client/movement.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/client/movement.rs b/src/lua/client/movement.rs index caf2783..047b2b4 100644 --- a/src/lua/client/movement.rs +++ b/src/lua/client/movement.rs @@ -92,7 +92,7 @@ pub async fn go_to( client .goto_with_opts( goal, - PathfinderOpts::new().allow_mining(options.get("without_mining").unwrap_or_default()), + PathfinderOpts::new().allow_mining(!options.get("without_mining").unwrap_or_default()), ) .await; @@ -116,7 +116,7 @@ pub async fn start_go_to( )?; client.start_goto_with_opts( goal, - PathfinderOpts::new().allow_mining(options.get("without_mining").unwrap_or_default()), + PathfinderOpts::new().allow_mining(!options.get("without_mining").unwrap_or_default()), ); let _ = client.get_tick_broadcaster().recv().await;