From b6f1610a7ed125f7d854995245014b184efb461e Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Fri, 5 Jun 2020 14:06:43 +0200 Subject: [PATCH] Provide no suggestions instead of player names for commands --- Bukkit/src/main/java/com/plotsquared/bukkit/BukkitCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitCommand.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitCommand.java index 20ab45529..1f5b0de02 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitCommand.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitCommand.java @@ -78,6 +78,6 @@ public class BukkitCommand implements CommandExecutor, TabCompleter { for (com.plotsquared.core.command.Command o : objects) { result.add(o.toString()); } - return result.isEmpty() ? null : result; + return result; } }