diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-20 13:54:16 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-20 13:54:16 +0200 |
commit | b4b13f5ac68f3c5a03ff2e8507342fbc17e7076f (patch) | |
tree | 17767df876c0f725ff15ba38e14952eaeb646f76 /src/main/java/at/hannibal2 | |
parent | 80de87220bbd0cf0187d8e54b3128db6ba59327c (diff) | |
download | skyhanni-b4b13f5ac68f3c5a03ff2e8507342fbc17e7076f.tar.gz skyhanni-b4b13f5ac68f3c5a03ff2e8507342fbc17e7076f.tar.bz2 skyhanni-b4b13f5ac68f3c5a03ff2e8507342fbc17e7076f.zip |
Coping the amount into the clipboard when clicking on the visitor item list
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index 458e8e218..0f83ceea8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -142,6 +142,7 @@ class GardenVisitorFeatures { } else if (!InventoryUtils.inStorage()) { val thePlayer = Minecraft.getMinecraft().thePlayer thePlayer.sendChatMessage("/bz ${name.removeColor()}"); + OSUtils.copyToClipboard("$amount") } }) { GardenAPI.inGarden() && !InventoryUtils.inStorage() }) |