mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
remove EntityBundle on start_configuration
This commit is contained in:
parent
42c79043cf
commit
e9a5df2e87
2 changed files with 5 additions and 5 deletions
|
@ -1514,7 +1514,8 @@ impl GamePacketHandler<'_> {
|
|||
commands
|
||||
.entity(self.player)
|
||||
.insert(crate::client::InConfigState)
|
||||
.remove::<crate::JoinedClientBundle>();
|
||||
.remove::<crate::JoinedClientBundle>()
|
||||
.remove::<EntityBundle>();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
use azalea_client::{InConfigState, InGameState, test_simulation::*};
|
||||
use azalea_client::test_simulation::*;
|
||||
use azalea_core::{
|
||||
delta::PositionDelta8,
|
||||
position::{ChunkPos, Vec3},
|
||||
resource_location::ResourceLocation,
|
||||
};
|
||||
use azalea_entity::{LocalEntity, metadata::Cow};
|
||||
use azalea_entity::metadata::Cow;
|
||||
use azalea_protocol::packets::{
|
||||
ConnectionProtocol,
|
||||
config::{ClientboundFinishConfiguration, ClientboundRegistryData},
|
||||
game::ClientboundAddEntity,
|
||||
};
|
||||
use azalea_registry::DimensionType;
|
||||
use azalea_world::InstanceName;
|
||||
use bevy_ecs::{entity::Entity, query::With};
|
||||
use bevy_ecs::query::With;
|
||||
use bevy_log::tracing_subscriber;
|
||||
use simdnbt::owned::{NbtCompound, NbtTag};
|
||||
use uuid::Uuid;
|
||||
|
|
Loading…
Add table
Reference in a new issue