aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/slayer
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-24 19:52:47 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-24 19:52:47 +0200
commitce16c33389b75823750cb5bd06b51a5f1a471424 (patch)
treea2bec63d203bf43a93e296ffe0743ff70ec6423b /src/main/java/at/hannibal2/skyhanni/features/slayer
parent2538073a3568ee58591a637445640299a6dde1a8 (diff)
downloadskyhanni-ce16c33389b75823750cb5bd06b51a5f1a471424.tar.gz
skyhanni-ce16c33389b75823750cb5bd06b51a5f1a471424.tar.bz2
skyhanni-ce16c33389b75823750cb5bd06b51a5f1a471424.zip
fixed bug in RenderGameOverlayEvent
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt
index 2063a6435..808d29959 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerPillar.kt
@@ -99,6 +99,7 @@ class BlazeSlayerPillar {
@SubscribeEvent
fun renderOverlay(event: RenderGameOverlayEvent.Post) {
+ if (event.type != RenderGameOverlayEvent.ElementType.ALL) return
if (!isEnabled()) return
if (lastPillarSpawnTime == -1L) return