From 740560a50af51a9d929bc676f7aae31e089bffd9 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Sat, 19 Feb 2022 22:32:53 +0100 Subject: [PATCH] actually fix tint on custom water textures. --- .../seibel/lod/common/wrappers/block/BlockColorWrapper.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/block/BlockColorWrapper.java b/common/src/main/java/com/seibel/lod/common/wrappers/block/BlockColorWrapper.java index 45f3aadc8..e1d76ab6a 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/block/BlockColorWrapper.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/block/BlockColorWrapper.java @@ -203,9 +203,7 @@ public class BlockColorWrapper implements IBlockColorWrapper } // determine if this block should use the biome color tint - if (lookForTint && (float) numberOfGreyPixel / count > 0.75f) - this.toTint = true; - if (waterInstance()) + if ((lookForTint && (float) numberOfGreyPixel / count > 0.75f) || waterInstance()) this.toTint = true; // we check which kind of tint we need to apply