aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-26 23:59:20 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-26 23:59:20 +0200
commit370cf58f29a5d32040f83ca17465fd493cc88f61 (patch)
tree6594beafb7a903785bbcbcd1fd2c12897c5979ef /src/main/java/at/hannibal2/skyhanni/utils
parenteef49c780202dc5c64c943269f00973e70010dec (diff)
downloadskyhanni-370cf58f29a5d32040f83ca17465fd493cc88f61.tar.gz
skyhanni-370cf58f29a5d32040f83ca17465fd493cc88f61.tar.bz2
skyhanni-370cf58f29a5d32040f83ca17465fd493cc88f61.zip
Added Horsezooka Hider
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt
index 9e1ade646..54ea399bb 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt
@@ -7,6 +7,9 @@ import net.minecraft.item.ItemStack
object InventoryUtils {
+ var itemInHandId = ""
+ var latestItemInHand: ItemStack? = null
+
fun getItemsInOpenChest() = buildList {
val guiChest = Minecraft.getMinecraft().currentScreen as GuiChest
val inventorySlots = guiChest.inventorySlots.inventorySlots