Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Nov 19, 2023
1 parent f0b58c7 commit 84e036c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion azalea-client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ use azalea_protocol::{
},
resolver, ServerAddress,
};
use azalea_world::{Instance, InstanceContainer, InstanceName, PartialInstance};
use azalea_world::{Instance, InstanceContainer, InstanceName};
use bevy_app::{App, FixedUpdate, Plugin, PluginGroup, PluginGroupBuilder, Update};
use bevy_ecs::{
bundle::Bundle,
Expand Down
2 changes: 1 addition & 1 deletion azalea-physics/src/collision/shape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl Shapes {
op_true_false,
op_false_true,
);
let var8 = BitSetDiscreteVoxelShape::join(&a.shape(), &b.shape(), &var5, &var6, &var7, op);
let var8 = BitSetDiscreteVoxelShape::join(a.shape(), b.shape(), &var5, &var6, &var7, op);
// if var5.is_discrete_cube_merger()

if matches!(var5, IndexMerger::DiscreteCube { .. })
Expand Down
4 changes: 2 additions & 2 deletions azalea/examples/testbot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async fn main() -> anyhow::Result<()> {

let mut accounts = Vec::new();

for i in 0..100 {
for i in 0..1 {
accounts.push(Account::offline(&format!("bot{i}")));
}

Expand All @@ -56,7 +56,7 @@ async fn main() -> anyhow::Result<()> {
.add_accounts(accounts.clone())
.set_handler(handle)
.set_swarm_handler(swarm_handle)
// .join_delay(Duration::from_millis(1000))
.join_delay(Duration::from_millis(100))
.start("localhost")
.await;
// let e = azalea::ClientBuilder::new()
Expand Down

0 comments on commit 84e036c

Please sign in to comment.