Provide no suggestions instead of player names for commands

This commit is contained in:
Hannes Greule 2020-06-05 14:06:43 +02:00 committed by Alexander Söderberg
parent e3fbb32399
commit b6f1610a7e

View File

@ -78,6 +78,6 @@ public class BukkitCommand implements CommandExecutor, TabCompleter {
for (com.plotsquared.core.command.Command o : objects) { for (com.plotsquared.core.command.Command o : objects) {
result.add(o.toString()); result.add(o.toString());
} }
return result.isEmpty() ? null : result; return result;
} }
} }