Skip to content

Commit 7cc9121

Browse files
committed
water raycast fix
1 parent e2b6a78 commit 7cc9121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/scripts/World/World.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class World
127127
steppedIndex = -1
128128
while t <= len
129129
block = @cellTerrain.getBlock ix, iy, iz
130-
if block.name is "air" or block.name is "cave_air" or block.name is "void_air"
130+
if block.name is "air" or block.name is "cave_air" or block.name is "void_air" or block.name is "water"
131131
voxel=0
132132
else
133133
voxel=1

0 commit comments

Comments
 (0)