diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-28 18:57:31 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-28 18:57:31 +0100 |
commit | 34a7bacb66dd8a62808288467b9bcc21be264128 (patch) | |
tree | 988e9b148bce999447032bb01c6f42b95f53ef4a /src/main/java/at | |
parent | b99fc8a750a577cd8d985d3c54245d7556d87851 (diff) | |
download | skyhanni-34a7bacb66dd8a62808288467b9bcc21be264128.tar.gz skyhanni-34a7bacb66dd8a62808288467b9bcc21be264128.tar.bz2 skyhanni-34a7bacb66dd8a62808288467b9bcc21be264128.zip |
Fixed Power Stone Guide Highlight shows in other inventories when leaving via command.
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/PowerStoneGuideFeatures.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/PowerStoneGuideFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/PowerStoneGuideFeatures.kt index 24972cde5..e9545355e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/PowerStoneGuideFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/PowerStoneGuideFeatures.kt @@ -45,6 +45,11 @@ class PowerStoneGuideFeatures { } @SubscribeEvent + fun onInventoryClose(event: GuiContainerEvent.CloseWindowEvent) { + inInventory = false + } + + @SubscribeEvent fun onBackgroundDrawn(event: GuiContainerEvent.BackgroundDrawnEvent) { if (!isEnabled()) return if (!inInventory) return |