Fix typo in sky rendering causing tons of BlockPos allocations (#3267)
This commit is contained in:
parent
7a84376044
commit
d3ad8aed76
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue