diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-02 14:32:02 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-02 14:32:02 +0100 |
commit | 7b8ed68743e0a617d5f8cbccbae8097675490382 (patch) | |
tree | 4200b1db1b449dbc48f3771529ce6fb0f7402782 /src/main/java/at/hannibal2/skyhanni/events | |
parent | b9c99bdcfc107a460cbf250ff269d19b6a9c0722 (diff) | |
download | skyhanni-7b8ed68743e0a617d5f8cbccbae8097675490382.tar.gz skyhanni-7b8ed68743e0a617d5f8cbccbae8097675490382.tar.bz2 skyhanni-7b8ed68743e0a617d5f8cbccbae8097675490382.zip |
Fixed minion features disappear inside the minion inventory when picking up an item.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/InventoryCloseEvent.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/InventoryCloseEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/InventoryCloseEvent.kt index bf43a57f9..72630756a 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/InventoryCloseEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/InventoryCloseEvent.kt @@ -3,9 +3,9 @@ package at.hannibal2.skyhanni.events import at.hannibal2.skyhanni.data.OtherInventoryData import net.minecraft.item.ItemStack -class InventoryCloseEvent(val inventory: OtherInventoryData.Inventory) : LorenzEvent() { +class InventoryCloseEvent(val inventory: OtherInventoryData.Inventory, val reopenSameName: Boolean) : LorenzEvent() { val inventoryId: Int by lazy { inventory.windowId } val inventoryName: String by lazy { inventory.title } val inventorySize: Int by lazy { inventory.slotCount } val inventoryItems: Map<Int, ItemStack> by lazy { inventory.items } -}
\ No newline at end of file +} |