File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
azalea-client/src/packet_handling Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,8 @@ pub fn process_packet_events(ecs: &mut World) {
253253 continue ;
254254 } ;
255255
256- let dimension_name = ResourceLocation :: new ( & p. common . dimension . to_string ( ) ) ;
256+ let dimension_name =
257+ ResourceLocation :: new ( & p. common . dimension_type . to_string ( ) ) ;
257258
258259 let Some ( dimension) = dimension_type_element. map . get ( & dimension_name) else {
259260 error ! ( "No dimension_type with name {dimension_name}" ) ;
@@ -1394,7 +1395,8 @@ pub fn process_packet_events(ecs: &mut World) {
13941395 continue ;
13951396 } ;
13961397
1397- let dimension_name = ResourceLocation :: new ( & p. common . dimension . to_string ( ) ) ;
1398+ let dimension_name =
1399+ ResourceLocation :: new ( & p. common . dimension_type . to_string ( ) ) ;
13981400
13991401 let Some ( dimension) = dimension_type_element. map . get ( & dimension_name) else {
14001402 error ! ( "No dimension_type with name {dimension_name}" ) ;
You can’t perform that action at this time.
0 commit comments