aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-04 23:58:36 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-04 23:58:36 +0200
commitaafea02564941400f2446fdae33fc4bdbd4848fc (patch)
tree132102dbf9afcc324f64c2036bcdf7a76ab4bb68 /src/main/java/at/hannibal2
parent7f36ca139131f02ca231ae9c1fbcc678498e633f (diff)
downloadskyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.tar.gz
skyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.tar.bz2
skyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.zip
Fixed duplicate tab complete results
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt
index 69d24c4dc..388b89034 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt
@@ -10,7 +10,7 @@ object TabComplete {
if (command.startsWith("/")) {
command = command.substring(1)
customTabComplete(command, originalArray)?.let {
- return buildResponse(splits, it).toTypedArray()
+ return buildResponse(splits, it).toSet().toTypedArray()
}
}
}