start adding picking up drops for mined blocks #1692
Annotations
7 warnings
this `if` statement can be collapsed:
azalea/src/pathfinder/extras/process/mine_forever.rs#L47
warning: this `if` statement can be collapsed
--> azalea/src/pathfinder/extras/process/mine_forever.rs:47:5
|
47 | / if !pathfinder.is_calculating {
48 | | if !**items_to_pickup_change_acknowledged {
49 | | should_force_recalculate_path = true;
50 | | **items_to_pickup_change_acknowledged = true;
51 | | println!("items_to_pickup_change_acknowledged = true");
52 | | }
53 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
47 ~ if !pathfinder.is_calculating && !**items_to_pickup_change_acknowledged {
48 + should_force_recalculate_path = true;
49 + **items_to_pickup_change_acknowledged = true;
50 + println!("items_to_pickup_change_acknowledged = true");
51 + }
|
|
this `if` statement can be collapsed:
azalea/src/pathfinder/extras/process/mine_forever.rs#L47
warning: this `if` statement can be collapsed
--> azalea/src/pathfinder/extras/process/mine_forever.rs:47:5
|
47 | / if !pathfinder.is_calculating {
48 | | if !**items_to_pickup_change_acknowledged {
49 | | should_force_recalculate_path = true;
50 | | **items_to_pickup_change_acknowledged = true;
51 | | println!("items_to_pickup_change_acknowledged = true");
52 | | }
53 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
47 ~ if !pathfinder.is_calculating && !**items_to_pickup_change_acknowledged {
48 + should_force_recalculate_path = true;
49 + **items_to_pickup_change_acknowledged = true;
50 + println!("items_to_pickup_change_acknowledged = true");
51 + }
|
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|