diff options
| author | Shayne Hartford <shaybox@shaybox.com> | 2024-11-23 03:29:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-23 02:29:30 -0600 |
| commit | dfdc3144b61b6750ad62fb493b7c00c6c820c90b (patch) | |
| tree | 0cca5bcea62b3562152944b278c494401531d4d7 /azalea/src/pathfinder | |
| parent | e443c5d76e706132ab554e97513d2b159f4ab0a1 (diff) | |
| download | azalea-drasl-dfdc3144b61b6750ad62fb493b7c00c6c820c90b.tar.xz | |
Update and merge the dependencies (#187)
* Add rust rover to .gitignore
* Fold dependency feature lists
* Sort dependencies alphabetically
* Update dependencies
* Upgrade dependencies
* Comment out unused dependencies
* Nightly is broken right now :)
* Fix conflict with derive_more
* cargo autoinherit to merge dependencies
* Fix clippy lints
Diffstat (limited to 'azalea/src/pathfinder')
| -rw-r--r-- | azalea/src/pathfinder/simulation.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index a24a1acb..ae76896c 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -154,8 +154,7 @@ impl Simulation { pub fn is_mining(&self) -> bool { // return true if the component is present and Some self.get_component::<azalea_client::mining::MineBlockPos>() - .map(|c| *c) - .flatten() + .and_then(|c| *c) .is_some() } } |
