Skip to content

Commit

Permalink
fix: use native brig completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jun 7, 2024
1 parent e8fffa3 commit e77c013
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,8 @@ public CommandManager<CommandDispatcher> command(final Command<? extends Command
return super.command(command);
}
};
if (manager.hasCapability(CloudBukkitCapabilities.ASYNCHRONOUS_COMPLETION)) {
manager.registerAsynchronousCompletions();
}

if (manager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER) || manager.hasCapability(CloudBukkitCapabilities.COMMODORE_BRIGADIER)) {
if (manager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER)) {
manager.registerLegacyPaperBrigadier();
}

Expand Down

0 comments on commit e77c013

Please sign in to comment.