Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
olebeck committed Jun 26, 2024
1 parent 28039a2 commit e6d0daa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion gophertunnel
8 changes: 0 additions & 8 deletions utils/chunk_render.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6d0daa

Please sign in to comment.