Skip to content

Commit

Permalink
Fix: Armor Hider (hannibal002#1813)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
  • Loading branch information
hannibal002 and hannibal002 authored May 16, 2024
1 parent 9966a6a commit ef235ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ object EntityUtils {

@SubscribeEvent
fun onEntityRenderPost(event: RenderLivingEvent.Post<*>) {
SkyHanniRenderEntityEvent.Post(event.entity, event.renderer, event.x, event.y, event.z)
SkyHanniRenderEntityEvent.Post(event.entity, event.renderer, event.x, event.y, event.z).postAndCatch()
}

@SubscribeEvent
Expand All @@ -204,7 +204,7 @@ object EntityUtils {

@SubscribeEvent
fun onEntityRenderSpecialsPost(event: RenderLivingEvent.Specials.Post<*>) {
SkyHanniRenderEntityEvent.Specials.Post(event.entity, event.renderer, event.x, event.y, event.z)
SkyHanniRenderEntityEvent.Specials.Post(event.entity, event.renderer, event.x, event.y, event.z).postAndCatch()
}

fun EntityLivingBase.isCorrupted() = baseMaxHealth == health.toInt().derpy() * 3 || isRunicAndCorrupt()
Expand Down

0 comments on commit ef235ed

Please sign in to comment.