mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
Fix dimension type
This commit is contained in:
parent
c285fadd34
commit
4f65bfaa32
1 changed files with 4 additions and 2 deletions
|
@ -253,7 +253,8 @@ pub fn process_packet_events(ecs: &mut World) {
|
|||
continue;
|
||||
};
|
||||
|
||||
let dimension_name = ResourceLocation::new(&p.common.dimension.to_string());
|
||||
let dimension_name =
|
||||
ResourceLocation::new(&p.common.dimension_type.to_string());
|
||||
|
||||
let Some(dimension) = dimension_type_element.map.get(&dimension_name) else {
|
||||
error!("No dimension_type with name {dimension_name}");
|
||||
|
@ -1394,7 +1395,8 @@ pub fn process_packet_events(ecs: &mut World) {
|
|||
continue;
|
||||
};
|
||||
|
||||
let dimension_name = ResourceLocation::new(&p.common.dimension.to_string());
|
||||
let dimension_name =
|
||||
ResourceLocation::new(&p.common.dimension_type.to_string());
|
||||
|
||||
let Some(dimension) = dimension_type_element.map.get(&dimension_name) else {
|
||||
error!("No dimension_type with name {dimension_name}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue