diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-10 12:27:45 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-10 12:27:45 +0200 |
commit | f5ed310c706280e246cb585d4f2fa4a05f2f1f42 (patch) | |
tree | 5599ce532d7b89272f358c29547a028672f93840 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | b824b3d723bb230ddf61b9c4434fbe7e237d9543 (diff) | |
download | skyhanni-f5ed310c706280e246cb585d4f2fa4a05f2f1f42.tar.gz skyhanni-f5ed310c706280e246cb585d4f2fa4a05f2f1f42.tar.bz2 skyhanni-f5ed310c706280e246cb585d4f2fa4a05f2f1f42.zip |
Fixed `/shtrackcollection gold ingot` not working
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt index 69dd4ef87..b7d7b52f1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt @@ -41,7 +41,7 @@ class CollectionCounter { return } - val name = args.joinToString(" ") + val name = args.joinToString(" ").replace(" ", "_") val pair = CollectionAPI.getCollectionCounter(name) if (pair == null) { LorenzUtils.chat("§c[SkyHanni] Item $name is not in the collection data! (Maybe the API is disabled or try to open the collection inventory)") |