Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
Adjust ChestESP color for trapped chests (#4503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Intoprelised authored Sep 8, 2021
1 parent bad0128 commit c905289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Horion/Module/Modules/ChestESP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void ChestESP::onPreRender(C_MinecraftUIRenderContext* renderCtx) {
mathVect.y = floor(mathVect.y);

if (storageID == 54) DrawUtils::setColor(1.f, 1.f, 1.f, math); // Normal Chest
if (storageID == 146) DrawUtils::setColor(1.f, 1.f, 1.f, math); // Trapped Chest
if (storageID == 146) DrawUtils::setColor(.92f, .14f, .14f, math); // Trapped Chest
if (storageID == 130) DrawUtils::setColor(0.435294f, 0.215686f, 0.631372f, math); // Ender Chest

DrawUtils::drawBox(chest.lower, chest.upper, (float)fmax(0.2f, 1 / (float)fmax(1, g_Data.getLocalPlayer()->eyePos0.dist(chest.lower))), true); // Fancy math to give an illusion of good esp
Expand Down

0 comments on commit c905289

Please sign in to comment.