diff --git a/gophertunnel b/gophertunnel index c68141b..a436bb7 160000 --- a/gophertunnel +++ b/gophertunnel @@ -1 +1 @@ -Subproject commit c68141b1b7d727fef684940d3f0b531a08e51e4c +Subproject commit a436bb73d4b9b9dca1b38ca2e9602b572d6dc9be diff --git a/utils/chunk_render.go b/utils/chunk_render.go index a769bea..796044d 100644 --- a/utils/chunk_render.go +++ b/utils/chunk_render.go @@ -32,14 +32,6 @@ func blockColorAt(c *chunk.Chunk, x uint8, y int16, z uint8) (blockColor color.R } rid := c.Block(x, y, z, 0) - /* - idx, ok := ridToIdx[rid] - if ok { - return color.RGBA{uint8(idx.X), uint8(idx.Y), 0, 0xff} - } - return color.RGBA{0, 0, 0, 0} - */ - blockColor = color.RGBA{0xff, 0, 0xff, 0xff} br := c.BlockRegistry.(world.BlockRegistry) b, found := br.BlockByRuntimeID(rid)