Water render fix, minor refactor, README.md update

This commit is contained in:
MihailRis
2023-11-06 00:48:03 +03:00
parent e437cc99ce
commit 26935473a3
4 changed files with 4 additions and 35 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ bool BlocksRenderer::isOpen(int x, int y, int z, ubyte group) const {
if (id == BLOCK_VOID)
return false;
const Block& block = *Block::blocks[id];
if (block.drawGroup != group) {
if (block.drawGroup != group && block.lightPassing) {
return true;
}
return !id;