Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pumpkin/src/block/fluid/lava.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ impl FlowingFluid for FlowingLava {
}
}

fn can_convert_to_source(&self, _world: &Arc<World>) -> bool {
// TODO: add game rule check for lava conversion
false
/// Determines if lava can convert to source blocks based on game rules.
fn can_convert_to_source(&self, world: &Arc<World>) -> bool {
world.level_info.load().game_rules.lava_source_conversion
}

async fn spread_to(
Expand Down
6 changes: 3 additions & 3 deletions pumpkin/src/block/fluid/water.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ impl FlowingFluid for FlowingWater {
5
}

fn can_convert_to_source(&self, _world: &Arc<World>) -> bool {
// TODO: add game rule check for water conversion
true
/// Determines if water can convert to source blocks based on game rules.
fn can_convert_to_source(&self, world: &Arc<World>) -> bool {
world.level_info.load().game_rules.water_source_conversion
}
}