We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c83072 commit dea30ceCopy full SHA for dea30ce
1 file changed
src/lua/client/movement.rs
@@ -92,7 +92,8 @@ 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()
96
+ .allow_mining(!options.get::<bool>("without_mining").unwrap_or_default()),
97
)
98
.await;
99
@@ -116,7 +117,8 @@ pub async fn start_go_to(
116
117
)?;
118
client.start_goto_with_opts(
119
120
121
122
);
123
let _ = client.get_tick_broadcaster().recv().await;
124
0 commit comments