Fix typo in sky rendering causing tons of BlockPos allocations (#3267)

This commit is contained in:
tterrag 2016-09-21 15:50:24 -04:00 committed by LexManos
parent 7a84376044
commit d3ad8aed76

View file

@ -288,7 +288,7 @@ public class ForgeHooksClient
int multiplier = (r / divider & 255) << 16 | (g / divider & 255) << 8 | b / divider & 255; int multiplier = (r / divider & 255) << 16 | (g / divider & 255) << 8 | b / divider & 255;
skyX = center.getX(); skyX = center.getX();
skyZ = center.getY(); skyZ = center.getZ();
skyRGBMultiplier = multiplier; skyRGBMultiplier = multiplier;
return skyRGBMultiplier; return skyRGBMultiplier;
} }