diff --git a/pumpkin-world/src/biome/mod.rs b/pumpkin-world/src/biome/mod.rs index d17bea7d9..5490f8c6a 100644 --- a/pumpkin-world/src/biome/mod.rs +++ b/pumpkin-world/src/biome/mod.rs @@ -126,7 +126,7 @@ mod test { &multi_noise_config, ); - chunk.populate_biomes(&generator, &mut multi_noise_sampler); + chunk.populate_biomes(generator, &mut multi_noise_sampler); for (biome_x, biome_y, biome_z, biome_id) in data.data { let calculated_biome = chunk.get_biome(biome_x, biome_y, biome_z); diff --git a/pumpkin-world/src/chunk_system/generation.rs b/pumpkin-world/src/chunk_system/generation.rs index ae0cc9218..467a20e87 100644 --- a/pumpkin-world/src/chunk_system/generation.rs +++ b/pumpkin-world/src/chunk_system/generation.rs @@ -123,7 +123,7 @@ mod tests { let _ = generate_single_chunk( &dimension, biome_mixer_seed, - &*world_gen, + &world_gen, block_registry.as_ref(), 0, 0, @@ -142,7 +142,7 @@ mod tests { let chunk = generate_single_chunk( &dimension, biome_mixer_seed, - &*world_gen, + &world_gen, block_registry.as_ref(), 31, -12,