Skip to content

Commit

Permalink
fix name of field in CommonPlayerSpawnInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Jan 21, 2025
1 parent b0b57aa commit f2d8d42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azalea-client/src/packet_handling/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
2 changes: 1 addition & 1 deletion azalea-protocol/src/packets/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f2d8d42

Please sign in to comment.