This commit is contained in:
Ran
2022-02-20 09:32:44 +06:00
@@ -146,7 +146,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
// generate the block's color
// for (int frameIndex = 0; frameIndex < texture.getFrameCount(); frameIndex++)
boolean lookForTint = grassInstance() || leavesInstance() || waterInstance();
boolean lookForTint = grassInstance() || leavesInstance();
int frameIndex = 0; // TODO
{
@@ -203,7 +203,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
}
// determine if this block should use the biome color tint
if (lookForTint && (float) numberOfGreyPixel / count > 0.75f)
if ((lookForTint && (float) numberOfGreyPixel / count > 0.75f) || waterInstance())
this.toTint = true;
// we check which kind of tint we need to apply