mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Actually use the cached colors in MobSpawnESP rendering
This commit is contained in:
parent
fa5a1cd369
commit
8d897ecf58
@ -208,7 +208,7 @@ public final class MobSpawnEspHack extends Hack
|
||||
float z2 = z1 + 1;
|
||||
|
||||
int color = MC.world.getLightLevel(LightType.SKY, pos) < 8
|
||||
? dayColor.getColorI() : nightColor.getColorI();
|
||||
? cachedDayColor : cachedNightColor;
|
||||
|
||||
bufferBuilder.vertex(x1, y, z1).color(color);
|
||||
bufferBuilder.vertex(x2, y, z2).color(color);
|
||||
|
Loading…
Reference in New Issue
Block a user