diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2026-01-13 10:51:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 10:51:30 -0600 |
| commit | d5fa5e32b37754b3b5c136e58821e48cd3b7c2ff (patch) | |
| tree | ea04702f96ad170fb1d90e5ed2dc875ae8166495 /azalea-client/tests/simulation/receive_start_config_packet.rs | |
| parent | efb36d5fc0fe56a98f5795c53dfa109887cd5aae (diff) | |
| download | azalea-drasl-d5fa5e32b37754b3b5c136e58821e48cd3b7c2ff.tar.xz | |
Rename Instance to World (#304)
Diffstat (limited to 'azalea-client/tests/simulation/receive_start_config_packet.rs')
| -rw-r--r-- | azalea-client/tests/simulation/receive_start_config_packet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/tests/simulation/receive_start_config_packet.rs b/azalea-client/tests/simulation/receive_start_config_packet.rs index f87d65da..a54abe5b 100644 --- a/azalea-client/tests/simulation/receive_start_config_packet.rs +++ b/azalea-client/tests/simulation/receive_start_config_packet.rs @@ -1,6 +1,6 @@ use azalea_client::{InConfigState, test_utils::prelude::*}; use azalea_protocol::packets::{ConnectionProtocol, game::ClientboundStartConfiguration}; -use azalea_world::InstanceName; +use azalea_world::WorldName; #[test] fn test_receive_start_config_packet() { @@ -10,7 +10,7 @@ fn test_receive_start_config_packet() { simulation.receive_packet(default_login_packet()); simulation.tick(); - assert!(simulation.has_component::<InstanceName>()); + assert!(simulation.has_component::<WorldName>()); simulation.tick(); simulation.receive_packet(ClientboundStartConfiguration); |
