aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-10 17:21:58 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-10 17:21:58 +0200
commit4cd08dd55c3d902f68cd155c203a6efbc97d03e3 (patch)
tree2ebb5f7f2538792b7b14c8973d91c7ba3188003f /src/main/java/at/hannibal2
parent67b6c83bb54e451264f9573aa5c9b9a0fcaf2000 (diff)
downloadskyhanni-4cd08dd55c3d902f68cd155c203a6efbc97d03e3.tar.gz
skyhanni-4cd08dd55c3d902f68cd155c203a6efbc97d03e3.tar.bz2
skyhanni-4cd08dd55c3d902f68cd155c203a6efbc97d03e3.zip
Hide Non God Pot Effect Display while inside the Rift
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
index fa3bc03ad..f6540e469 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
@@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.misc
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.*
+import at.hannibal2.skyhanni.features.rift.RiftAPI
import at.hannibal2.skyhanni.test.command.CopyErrorCommand
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.ItemUtils.name
@@ -208,6 +209,7 @@ class NonGodPotEffectDisplay {
@SubscribeEvent
fun onRenderOverlay(event: GuiRenderEvent.GameOverlayRenderEvent) {
if (!isEnabled()) return
+ if (RiftAPI.inRift()) return
config.nonGodPotEffectPos.renderStrings(
display,