diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 23:23:07 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 23:23:07 +0200 |
commit | 644291019d9033eba9358791b4f771258d4f1163 (patch) | |
tree | d0840490e27815b460561cec37b34142cc972988 /src/main/java/at/hannibal2/skyhanni/config | |
parent | a0d813a371016bd1428bb7753edff453b6ef4eb4 (diff) | |
download | skyhanni-644291019d9033eba9358791b4f771258d4f1163.tar.gz skyhanni-644291019d9033eba9358791b4f771258d4f1163.tar.bz2 skyhanni-644291019d9033eba9358791b4f771258d4f1163.zip |
Properly sending inventory close event when closing the gui position editor
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt index 0044ed6ea..8ff09bba5 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt @@ -22,6 +22,7 @@ import at.hannibal2.skyhanni.config.core.config.Position import at.hannibal2.skyhanni.data.GuiEditManager.Companion.getAbsX import at.hannibal2.skyhanni.data.GuiEditManager.Companion.getAbsY import at.hannibal2.skyhanni.data.GuiEditManager.Companion.getDummySize +import at.hannibal2.skyhanni.data.OtherInventoryData import at.hannibal2.skyhanni.utils.GuiRenderUtils import at.hannibal2.skyhanni.utils.LorenzUtils import net.minecraft.client.Minecraft @@ -40,6 +41,7 @@ class GuiPositionEditor(private val positions: List<Position>, private val borde override fun onGuiClosed() { super.onGuiClosed() clickedPos = -1 + OtherInventoryData.close() } override fun drawScreen(unusedX: Int, unusedY: Int, partialTicks: Float) { |