Commit 434dd96c authored by S Handley's avatar S Handley

Check for the mousedown state before trying to collect an item via secondary mouse click.

parent 9c56d25c
Pipeline #125177161 passed with stages
in 47 minutes and 59 seconds
......@@ -278,7 +278,7 @@ impl PlayState for SessionState {
.unwrap_or(false)
{
self.inputs.secondary.set_state(state);
} else {
} else if state {
if let Some(select_pos) = select_pos {
client.collect_block(select_pos);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment