mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-05 03:13:14 +01:00
don't use async suggestions with brigadier
This commit is contained in:
parent
1a277bbbeb
commit
3a1b373c8e
@ -73,11 +73,11 @@ public class CloudModule extends AbstractModule {
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user