Improve how block color is determined

This commit is contained in:
James Seibel
2021-02-28 16:35:46 -06:00
parent 306f575edd
commit f96a6dcecd
2 changed files with 4 additions and 1 deletions
@@ -494,7 +494,7 @@ public class LodChunk
for(int y = topStart; !foundBlock && y >= topMin && y < topMax; y += topIncrement)
{
int ci;
ci = chunkSections[i].getBlockState(x, y, z).getMaterial().getColor().colorValue;
ci = chunkSections[i].getBlockState(x, y, z).materialColor.colorValue;
if(ci == 0)
{