wrong water render

This commit is contained in:
olebeck 2023-03-21 12:34:20 +01:00
parent b98b509907
commit 75a3ad3674
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func blockColorAt(c *chunk.Chunk, x uint8, y int16, z uint8) (blockColor color.R
return blockColorAt(c, x, y-1, z)
}
}
if _, ok := b.(block.Water); ok && false {
if _, ok := b.(block.Water); ok {
y2 := c.HeightMap().At(x, z)
depth := y - y2
if depth > 0 {