From aafea02564941400f2446fdae33fc4bdbd4848fc Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 4 Jun 2023 23:58:36 +0200 Subject: Fixed duplicate tab complete results --- .../java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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() } } } -- cgit