diff --git a/pumpkin/src/block/blocks/plant/flowerbed.rs b/pumpkin/src/block/blocks/plant/flowerbed.rs index b73ccb8fe..eefa62c7e 100644 --- a/pumpkin/src/block/blocks/plant/flowerbed.rs +++ b/pumpkin/src/block/blocks/plant/flowerbed.rs @@ -105,7 +105,7 @@ impl PumpkinBlock for FlowerbedBlock { if !(block_below.is_tagged_with("minecraft:dirt").unwrap() || block_below == Block::FARMLAND) { - return Block::AIR.default_state_id; + return Block::AIR.default_state.id; } } state diff --git a/pumpkin/src/block/blocks/plant/leaf_litter.rs b/pumpkin/src/block/blocks/plant/leaf_litter.rs index 202fb9c63..8cde7cb53 100644 --- a/pumpkin/src/block/blocks/plant/leaf_litter.rs +++ b/pumpkin/src/block/blocks/plant/leaf_litter.rs @@ -102,7 +102,7 @@ impl PumpkinBlock for LeafLitterBlock { if direction == BlockDirection::Down { let block_below_state = world.get_block_state(&pos.down()).await; if !block_below_state.is_side_solid(BlockDirection::Up) { - return Block::AIR.default_state_id; + return Block::AIR.default_state.id; } } state