From 1325e042a6e7af37669bcd32e9d7a133f2ae22e6 Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Sun, 30 Oct 2022 21:40:59 -0400 Subject: finish beta build of multi map support --- src/main/java/net/tylermurphy/hideAndSeek/command/Top.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/Top.java') diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Top.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Top.java index 72a695c..c57f246 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/Top.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Top.java @@ -24,6 +24,7 @@ import net.tylermurphy.hideAndSeek.database.util.PlayerInfo; import org.bukkit.ChatColor; import org.bukkit.entity.Player; +import java.util.Collections; import java.util.List; import static net.tylermurphy.hideAndSeek.configuration.Config.errorPrefix; @@ -80,4 +81,9 @@ public class Top implements ICommand { public String getDescription() { return "Gets the top players in the server."; } + + public List autoComplete(String parameter) { + return Collections.singletonList(parameter); + } + } -- cgit v1.2.3-freya