fix: miscellaneous bugs + crashes (#52)

Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/52
This commit is contained in:
Fireblade
2026-07-18 00:22:17 +01:00
parent 3c73512a40
commit be92d90bcb
194 changed files with 342503 additions and 24 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ int CompressedTileStorage::get(int x, int y, int z)
int block, tile;
getBlockAndTile( &block, &tile, x, y, z );
if (blockIndices[block] == 0) return 0;
// if (blockIndices[block] == 0) return 0; FIX: ghost blocks in the bedrock layer (thanks tranq)
int indexType = blockIndices[block] & INDEX_TYPE_MASK;
if( indexType == INDEX_TYPE_0_OR_8_BIT )