Skip to content

Commit e0fb5c2

Browse files
fix: allow lava to flow when above water block (#1618) (#1737)
1 parent c1dbf6d commit e0fb5c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pumpkin/src/block/fluid/lava.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ impl FlowingLava {
4242
for dir in BlockDirection::all() {
4343
let neighbor_pos = block_pos.offset(dir.to_offset());
4444
if world.get_block(&neighbor_pos).await == &Block::WATER {
45+
if dir == BlockDirection::Down {
46+
return true;
47+
}
4548
let block = if is_still {
4649
Block::OBSIDIAN
4750
} else {

0 commit comments

Comments
 (0)