Skip to content

Commit c3d2d40

Browse files
committed
fix face between water and other transparent blocks not rendering
1 parent 66364ed commit c3d2d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/scripts/World/ChunkMesher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ class ChunkMesher {
481481
pos[0] + offset[0],
482482
pos[1] + offset[1],
483483
pos[2] + offset[2]
484-
).name === "air"
484+
).name !== "water"
485485
) {
486486
this.addFace(t_positions, t_normals, t_uvs, t_colors, positions, normals, uvs, colors, l, pos);
487487
}

0 commit comments

Comments
 (0)