Skip to content

Commit

Permalink
don't use async suggestions with brigadier
Browse files Browse the repository at this point in the history
  • Loading branch information
Citymonstret committed Jan 8, 2024
1 parent a66293e commit d4b1c5a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ protected void configure() {
new BukkitSenderMapper()
);
commandManager.captionRegistry().registerProvider(new PlotSquaredCaptionProvider());
if (commandManager.hasCapability(CloudBukkitCapabilities.ASYNCHRONOUS_COMPLETION)) {
commandManager.registerAsynchronousCompletions();
}

if (commandManager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER)) {
commandManager.registerBrigadier();
} else if (commandManager.hasCapability(CloudBukkitCapabilities.ASYNCHRONOUS_COMPLETION)) {
commandManager.registerAsynchronousCompletions();
}

final CommandRequirementPostprocessor requirementPostprocessor = new CommandRequirementPostprocessor();
Expand Down

0 comments on commit d4b1c5a

Please sign in to comment.