Compare commits

...

6 Commits

2 changed files with 4 additions and 2 deletions
@@ -157,13 +157,14 @@ public class BlockDetailWrapper extends IBlockDetailWrapper
(int) (Math.sqrt(blue / count)*255.)); (int) (Math.sqrt(blue / count)*255.));
} }
// TODO: Remove this when transparency is added! // TODO: Remove this when transparency is added!
/*
double colorAlpha = ColorUtil.getAlpha(tempColor)/255.; double colorAlpha = ColorUtil.getAlpha(tempColor)/255.;
tempColor = ColorUtil.rgbToInt( tempColor = ColorUtil.rgbToInt(
ColorUtil.getAlpha(tempColor), ColorUtil.getAlpha(tempColor),
(int)(ColorUtil.getRed(tempColor) * colorAlpha), (int)(ColorUtil.getRed(tempColor) * colorAlpha),
(int)(ColorUtil.getGreen(tempColor) * colorAlpha), (int)(ColorUtil.getGreen(tempColor) * colorAlpha),
(int)(ColorUtil.getBlue(tempColor) * colorAlpha) (int)(ColorUtil.getBlue(tempColor) * colorAlpha)
); );*/
return tempColor; return tempColor;
} }
@@ -244,6 +245,7 @@ public class BlockDetailWrapper extends IBlockDetailWrapper
} }
} else { // Liquid Block } else { // Liquid Block
dontOccludeFaces = new boolean[6]; dontOccludeFaces = new boolean[6];
Arrays.fill(dontOccludeFaces, true);
} }
} }
+1 -1
Submodule core updated: 9557912101...6f4b0a54e9