From ae3d73d4d7f1049ca214d3286573870605cbcfd8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 5 Jul 2023 17:33:56 +0200 Subject: Removed pet display while inside the rift --- src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt index 936aa04ae..d1b2ace7e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.data.ProfileStorageData import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.InventoryOpenEvent import at.hannibal2.skyhanni.events.LorenzChatEvent +import at.hannibal2.skyhanni.features.rift.RiftAPI import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.between @@ -62,6 +63,7 @@ class CurrentPetDisplay { @SubscribeEvent fun onRenderOverlay(event: GuiRenderEvent.GameOverlayRenderEvent) { if (!LorenzUtils.inSkyBlock) return + if (RiftAPI.inRift()) return if (!SkyHanniMod.feature.misc.petDisplay) return val config = ProfileStorageData.profileSpecific ?: return -- cgit