aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-17 01:35:18 +0200
committerGitHub <noreply@github.com>2024-05-17 01:35:18 +0200
commitef235edc6a7312c2e3d529e35b610b561c45bc4e (patch)
treec32fe8f5591b0ee1e84e4e699f7f30b135d565dd /src/main
parent9966a6ab66b061b7c4972570b1dfe5f9bac97451 (diff)
downloadskyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.tar.gz
skyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.tar.bz2
skyhanni-ef235edc6a7312c2e3d529e35b610b561c45bc4e.zip
Fix: Armor Hider (#1813)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/EntityUtils.kt4
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()