diff --git a/crates/horizon-world/src/worldgen/generator_blocks.rs b/crates/horizon-world/src/worldgen/generator_blocks.rs index 262a8cb2d..390fb338c 100644 --- a/crates/horizon-world/src/worldgen/generator_blocks.rs +++ b/crates/horizon-world/src/worldgen/generator_blocks.rs @@ -115,8 +115,10 @@ impl BlockBehavior { let json = |name: &str| -> Result { Ok(serde_json::from_str(&fs::read_to_string(dir.join(name))?)?) }; - let collisions = CachedCollisionRegistry::from_nbt(&read("cached-collision.nbt")?, registry)?; - let properties = BlockPropertiesRegistry::from_nbt(&read("block-properties.nbt")?, &collisions)?; + let collisions = + CachedCollisionRegistry::from_nbt(&read("cached-collision.nbt")?, registry)?; + let properties = + BlockPropertiesRegistry::from_nbt(&read("block-properties.nbt")?, &collisions)?; let support = Arc::new(BlockSupportRegistry::from_nbt( &read("cached-support.nbt")?, registry,