0
0
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:
Alexander01998 2024-09-12 08:08:20 +02:00
parent fa5a1cd369
commit 8d897ecf58

View File

@ -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);