mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix name of field in CommonPlayerSpawnInfo
This commit is contained in:
parent
b0b57aa7d4
commit
f2d8d4211b
2 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@ pub fn process_packet_events(ecs: &mut World) {
|
|||
let dimension_name = ResourceLocation::new(&p.common.dimension.to_string());
|
||||
|
||||
let Some(dimension) = dimension_type_element.map.get(&dimension_name) else {
|
||||
error!("No dimension_type with name {dimension_name}")
|
||||
error!("No dimension_type with name {dimension_name}");
|
||||
continue;
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ use azalea_core::{
|
|||
|
||||
#[derive(Clone, Debug, AzBuf)]
|
||||
pub struct CommonPlayerSpawnInfo {
|
||||
pub dimension: azalea_registry::DimensionType,
|
||||
pub dimension_type: azalea_registry::DimensionType,
|
||||
pub dimension: ResourceLocation,
|
||||
pub seed: i64,
|
||||
pub game_type: GameMode,
|
||||
|
|
Loading…
Add table
Reference in a new issue