diff --git a/bukkit/src/main/java/revxrsal/commands/bukkit/core/BukkitHandler.java b/bukkit/src/main/java/revxrsal/commands/bukkit/core/BukkitHandler.java index 95ee8b10..264b97d4 100644 --- a/bukkit/src/main/java/revxrsal/commands/bukkit/core/BukkitHandler.java +++ b/bukkit/src/main/java/revxrsal/commands/bukkit/core/BukkitHandler.java @@ -114,6 +114,8 @@ public BukkitHandler(@NotNull Plugin plugin) { if (EntitySelectorResolver.INSTANCE.supportsComplexSelectors() && isBrigadierSupported()) getAutoCompleter().registerParameterSuggestions(EntityType.class, SuggestionProvider.EMPTY); registerValueResolverFactory(EntitySelectorResolver.INSTANCE); + if (!isBrigadierSupported()) + getAutoCompleter().registerParameterSuggestions(Player.class, playerSuggestionProvider); getAutoCompleter().registerSuggestion("players", playerSuggestionProvider); getAutoCompleter() .registerSuggestion("worlds", SuggestionProvider.map(Bukkit::getWorlds, World::getName))