aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/tests
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-22 23:01:54 +0000
committermat <git@matdoes.dev>2025-02-22 23:01:54 +0000
commit34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 (patch)
tree7920fec1203e8e96463a142f5f6da6164e76e684 /azalea-client/tests
parentbdd2fc91e11e2896d8e1c7046df247e1075bd40d (diff)
downloadazalea-drasl-34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6.tar.xz
update to rust edition 2024
Diffstat (limited to 'azalea-client/tests')
-rw-r--r--azalea-client/tests/change_dimension_to_nether_and_back.rs6
-rw-r--r--azalea-client/tests/set_health_before_login.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/azalea-client/tests/change_dimension_to_nether_and_back.rs b/azalea-client/tests/change_dimension_to_nether_and_back.rs
index 3ed623ef..16febca0 100644
--- a/azalea-client/tests/change_dimension_to_nether_and_back.rs
+++ b/azalea-client/tests/change_dimension_to_nether_and_back.rs
@@ -1,10 +1,10 @@
-use azalea_client::{test_simulation::*, InConfigState};
+use azalea_client::{InConfigState, test_simulation::*};
use azalea_core::{position::ChunkPos, resource_location::ResourceLocation};
-use azalea_entity::{metadata::Health, LocalEntity};
+use azalea_entity::{LocalEntity, metadata::Health};
use azalea_protocol::packets::{
+ ConnectionProtocol,
config::{ClientboundFinishConfiguration, ClientboundRegistryData},
game::ClientboundSetHealth,
- ConnectionProtocol,
};
use azalea_registry::DimensionType;
use azalea_world::InstanceName;
diff --git a/azalea-client/tests/set_health_before_login.rs b/azalea-client/tests/set_health_before_login.rs
index d6b6c426..c078cae4 100644
--- a/azalea-client/tests/set_health_before_login.rs
+++ b/azalea-client/tests/set_health_before_login.rs
@@ -1,10 +1,10 @@
-use azalea_client::{test_simulation::*, InConfigState};
+use azalea_client::{InConfigState, test_simulation::*};
use azalea_core::resource_location::ResourceLocation;
-use azalea_entity::{metadata::Health, LocalEntity};
+use azalea_entity::{LocalEntity, metadata::Health};
use azalea_protocol::packets::{
+ ConnectionProtocol,
config::{ClientboundFinishConfiguration, ClientboundRegistryData},
game::ClientboundSetHealth,
- ConnectionProtocol,
};
use azalea_registry::DimensionType;
use bevy_log::tracing_subscriber;