aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 00:33:14 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 00:33:14 +0100
commita1bce3d67b9754707fe809f1b24eeef73356d9dd (patch)
tree4f23a68ff5bd241c5d9f2f0c0e53879c56c0392a /src/main/java
parent7eb5d745e346f116b27ddf0125ed846a72f2ee1a (diff)
downloadskyhanni-a1bce3d67b9754707fe809f1b24eeef73356d9dd.tar.gz
skyhanni-a1bce3d67b9754707fe809f1b24eeef73356d9dd.tar.bz2
skyhanni-a1bce3d67b9754707fe809f1b24eeef73356d9dd.zip
Hide Composter Overlay in composter inventory while Estimated Item Value is showing.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
index b65c51a01..01e0951a5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
@@ -14,6 +14,7 @@ import at.hannibal2.skyhanni.events.TabListUpdateEvent
import at.hannibal2.skyhanni.features.bazaar.BazaarApi
import at.hannibal2.skyhanni.features.garden.GardenAPI
import at.hannibal2.skyhanni.features.garden.composter.ComposterAPI.getLevel
+import at.hannibal2.skyhanni.features.misc.items.EstimatedItemValue
import at.hannibal2.skyhanni.utils.InventoryUtils
import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName_old
import at.hannibal2.skyhanni.utils.ItemUtils.name
@@ -549,6 +550,8 @@ object ComposterOverlay {
@SubscribeEvent
fun onBackgroundDraw(event: GuiRenderEvent.ChestGuiOverlayRenderEvent) {
+ if (EstimatedItemValue.isCurrentlyShowing()) return
+
if (inInventory) {
config.overlayOrganicMatterPos.renderStringsAndItems(
organicMatterDisplay,