diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-18 21:01:44 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-18 21:01:44 +0200 |
| commit | f767756fa0c01e8551639064a872e56c2678ff59 (patch) | |
| tree | 2c8b616b95de1637dcc3fe4b08de4812bf9decca /src/main/java/at/hannibal2/skyhanni/data | |
| parent | a06d89cdba845ee7f5f8418ad3502f5d9edc3cfc (diff) | |
| download | SkyHanni-f767756fa0c01e8551639064a872e56c2678ff59.tar.gz SkyHanni-f767756fa0c01e8551639064a872e56c2678ff59.tar.bz2 SkyHanni-f767756fa0c01e8551639064a872e56c2678ff59.zip | |
Do not open skyhanni gui hotkey or bazaar commands while inside the storage inventories
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt index cf4b0498e..92f6c02c3 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt @@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.config.core.config.Position import at.hannibal2.skyhanni.config.core.config.gui.GuiPositionEditor import at.hannibal2.skyhanni.events.GuiRenderEvent +import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.LorenzUtils import io.github.moulberry.notenoughupdates.NEUOverlay import io.github.moulberry.notenoughupdates.overlays.AuctionSearchOverlay @@ -37,6 +38,7 @@ class GuiEditManager { if (NEUOverlay.searchBarHasFocus) return if (AuctionSearchOverlay.shouldReplace()) return if (BazaarSearchOverlay.shouldReplace()) return + if (InventoryUtils.inStorage()) return if (isInGui()) return openGuiEditor() |
