mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 14:42:32 +00:00
clippy
This commit is contained in:
parent
f0b58c7e74
commit
84e036ce37
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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 { .. })
|
||||
|
|
|
@ -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}")));
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue