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 | e182f24353f186ddbeb1149916fe86ff91cdf8a0 (patch) | |
| tree | 17767df876c0f725ff15ba38e14952eaeb646f76 | |
| parent | 72b2eb6dca8b2752924379c396626b21acd14e15 (diff) | |
| download | SkyHanni-e182f24353f186ddbeb1149916fe86ff91cdf8a0.tar.gz SkyHanni-e182f24353f186ddbeb1149916fe86ff91cdf8a0.tar.bz2 SkyHanni-e182f24353f186ddbeb1149916fe86ff91cdf8a0.zip | |
Coping the amount into the clipboard when clicking on the visitor item list
| -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() }) |
