diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-03-07 01:20:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 01:20:43 +0100 |
commit | 84589e27e919acd6f8972bb053e209b175950cfc (patch) | |
tree | 33e168a478c85ff5170e67c88594ada2538370aa /src/main/java/at/hannibal2/skyhanni/features/event | |
parent | 0dd5963b30522610991bc1f75b188d7c4f8266d5 (diff) | |
download | skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.tar.gz skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.tar.bz2 skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.zip |
Interlal Change: Code cleanup (#1113)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt index 51a3def55..2b7e33e66 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/HighlightInquisitors.kt @@ -21,10 +21,8 @@ class HighlightInquisitors { val entity = event.entity if (entity is EntityPlayer && entity.name == "Minos Inquisitor") { - RenderLivingEntityHelper.setEntityColor( - entity, - LorenzColor.AQUA.toColor().withAlpha(127) - ) { config.highlightInquisitors } + val color = LorenzColor.AQUA.toColor().withAlpha(127) + RenderLivingEntityHelper.setEntityColor(entity, color) { config.highlightInquisitors } RenderLivingEntityHelper.setNoHurtTime(entity) { config.highlightInquisitors } } } |