aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 17:59:48 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 17:59:48 +0100
commit3d3f1f8cc911d02cfdc89074a8b49866f1db5085 (patch)
tree2ad18c0cbcefc3189239e9dfc5a479f146d88ac6 /src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt
parent0ea3a11fcb7a76fdfc539d049e3e323306500d60 (diff)
downloadskyhanni-3d3f1f8cc911d02cfdc89074a8b49866f1db5085.tar.gz
skyhanni-3d3f1f8cc911d02cfdc89074a8b49866f1db5085.tar.bz2
skyhanni-3d3f1f8cc911d02cfdc89074a8b49866f1db5085.zip
Fixed Fire Veil Wand circle shows on left clicking.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt b/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt
index 0219634b4..f4621877a 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/ItemClickData.kt
@@ -31,7 +31,7 @@ class ItemClickData {
if (packet is C07PacketPlayerDigging && packet.status == C07PacketPlayerDigging.Action.START_DESTROY_BLOCK) {
val position = packet.position.toLorenzVec()
BlockClickEvent(ClickType.LEFT_CLICK, position, InventoryUtils.getItemInHand()).postAndCatch()
- ItemClickEvent(InventoryUtils.getItemInHand(), ClickType.RIGHT_CLICK).postAndCatch()
+ ItemClickEvent(InventoryUtils.getItemInHand(), ClickType.LEFT_CLICK).postAndCatch()
}
if (packet is C0APacketAnimation) {
ItemClickEvent(InventoryUtils.getItemInHand(), ClickType.LEFT_CLICK).postAndCatch()