diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-17 01:35:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 01:35:18 +0200 |
commit | ef235edc6a7312c2e3d529e35b610b561c45bc4e (patch) | |
tree | c32fe8f5591b0ee1e84e4e699f7f30b135d565dd | |
parent | 9966a6ab66b061b7c4972570b1dfe5f9bac97451 (diff) | |
download | skyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.tar.gz skyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.tar.bz2 skyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.zip |
Fix: Armor Hider (#1813)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt index 70fdb6c4e..a6564f196 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt @@ -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 @@ -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() |