We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c83072 commit 85c6f39Copy full SHA for 85c6f39
1 file changed
src/lua/client/movement.rs
@@ -92,7 +92,7 @@ pub async fn go_to(
92
client
93
.goto_with_opts(
94
goal,
95
- PathfinderOpts::new().allow_mining(options.get("without_mining").unwrap_or_default()),
+ PathfinderOpts::new().allow_mining(!options.get::<bool>("without_mining").unwrap_or_default()),
96
)
97
.await;
98
@@ -116,7 +116,7 @@ pub async fn start_go_to(
116
)?;
117
client.start_goto_with_opts(
118
119
120
);
121
let _ = client.get_tick_broadcaster().recv().await;
122
0 commit comments