From fadf5ee1ec25f4fd3502da2e1a737408e4f0f5a1 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Wed, 17 Mar 2021 21:43:08 +0000 Subject: [PATCH] Reduced frequency of bee hives --- world/src/layer/tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/src/layer/tree.rs b/world/src/layer/tree.rs index 24f154d5b9..27fdf48dfa 100644 --- a/world/src/layer/tree.rs +++ b/world/src/layer/tree.rs @@ -240,7 +240,7 @@ pub fn apply_trees_to(canvas: &mut Canvas, dynamic_rng: &mut impl Rng) { last_block = block; }) .unwrap_or_else(|| { - if last_block.kind() == BlockKind::Wood && dynamic_rng.gen_range(0..512) == 0 { + if last_block.kind() == BlockKind::Wood && dynamic_rng.gen_range(0..2048) == 0 { canvas.set(wpos, Block::air(SpriteKind::Beehive)); }