diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 23:58:36 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-04 23:58:36 +0200 |
commit | aafea02564941400f2446fdae33fc4bdbd4848fc (patch) | |
tree | 132102dbf9afcc324f64c2036bcdf7a76ab4bb68 /src/main | |
parent | 7f36ca139131f02ca231ae9c1fbcc678498e633f (diff) | |
download | skyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.tar.gz skyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.tar.bz2 skyhanni-aafea02564941400f2446fdae33fc4bdbd4848fc.zip |
Fixed duplicate tab complete results
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt | 2 |
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() } } } |