Skip to content

Commit

Permalink
LEGACY: Fixed ESP Glow Mode (CCBlueX#2045)
Browse files Browse the repository at this point in the history
Now ESP glow mode should render correctly.
  • Loading branch information
EclipsesDev authored Feb 9, 2024
1 parent 99f51a5 commit 98743a0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ object ESP : Module("ESP", ModuleCategory.RENDER) {
GlowShader.startDraw(event.partialTicks, glowRenderScale)

for (entity in entities) {
if (entity is EntityPlayer && entity == mc.thePlayer) continue
if (!isSelected(entity, false)) continue

val distanceSquared = mc.thePlayer.getDistanceSqToEntity(entity)

if (distanceSquared <= maxRenderDistanceSq) {
Expand Down

0 comments on commit 98743a0

Please sign in to comment.