mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-19 11:49:11 +00:00
Remove duplicated code from TechneUtil
This commit is contained in:
1 parent
403d4377b8
commit
de86f78ec8
1 file changed
+2
-4
@@ -291,10 +291,8 @@ public class TechneUtil {
|
||||
vt.apply(v);
|
||||
}
|
||||
|
||||
if(isbrh) {
|
||||
float factor = normal.offsetX != 0 ? 0.8f : normal.offsetZ != 0 ? 0.6f : normal.offsetY < 0 ? 0.5f : 1;
|
||||
int c = (int) (0xFF * factor);
|
||||
|
||||
if (isbrh) {
|
||||
int c = (int) (0xFF * RenderUtil.getColorMultiplierForFace(normal));
|
||||
tes.setColorOpaque(c, c, c);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user