Skip to content

Commit dd159da

Browse files
authored
Update index.js (#104)
Fixed kelp_plant not being logged as "waterLike"
1 parent 116bb6f commit dd159da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function Physics (mcData, world) {
3838
if (blocksByName.seagrass) waterLike.add(blocksByName.seagrass.id) // 1.13+
3939
if (blocksByName.tall_seagrass) waterLike.add(blocksByName.tall_seagrass.id) // 1.13+
4040
if (blocksByName.kelp) waterLike.add(blocksByName.kelp.id) // 1.13+
41+
if (blocksByName.kelp_plant) waterLike.add(blocksByName.kelp_plant.id) // 1.13+
4142
const bubblecolumnId = blocksByName.bubble_column ? blocksByName.bubble_column.id : -1 // 1.13+
4243
if (blocksByName.bubble_column) waterLike.add(bubblecolumnId)
4344

0 commit comments

Comments
 (0)