Skip to content

Commit

Permalink
fix(legacy): itemesp small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EclipsesDev authored Aug 27, 2024
1 parent 161853f commit c40444c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ object ItemESP : Module("ItemESP", Category.RENDER, hideModule = false) {

if (itemText) {
renderEntityText(entityItem, if (isUseful) Color.green else color)
return@forEach
}

// Only render green boxes on useful items, if ItemESP is enabled, render boxes of ItemESP.color on useless items as well
Expand Down Expand Up @@ -177,4 +176,4 @@ object ItemESP : Module("ItemESP", Category.RENDER, hideModule = false) {
}

override fun handleEvents() = super.handleEvents() || (InventoryCleaner.handleEvents() && InventoryCleaner.highlightUseful)
}
}

0 comments on commit c40444c

Please sign in to comment.