fix pickable entity query #2497
Annotations
5 warnings
|
this if-then-else expression returns a bool literal:
azalea-client/src/plugins/interact/pick.rs#L169
warning: this if-then-else expression returns a bool literal
--> azalea-client/src/plugins/interact/pick.rs:169:13
|
169 | / if armor_stand_marker == Some(&ArmorStandMarker(true))
170 | | || arrow_in_ground == Some(&InGround(true))
171 | | {
172 | | false
173 | | } else {
174 | | true
175 | | }
| |_____________^ help: you can reduce it to: `!(armor_stand_marker == Some(&ArmorStandMarker(true)) || arrow_in_ground == Some(&InGround(true)))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool
= note: `#[warn(clippy::needless_bool)]` on 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/
|