aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-client/src/client.rs2
-rwxr-xr-xazalea-physics/src/collision/shape.rs2
-rw-r--r--azalea/examples/testbot.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 787e6144..c7094eb2 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -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,
diff --git a/azalea-physics/src/collision/shape.rs b/azalea-physics/src/collision/shape.rs
index 94b0cfde..41ade73c 100755
--- a/azalea-physics/src/collision/shape.rs
+++ b/azalea-physics/src/collision/shape.rs
@@ -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 { .. })
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs
index 2dd5b306..b2f09dfe 100644
--- a/azalea/examples/testbot.rs
+++ b/azalea/examples/testbot.rs
@@ -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()