mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-04-04 18:46:24 +02: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()
|
new BukkitSenderMapper()
|
||||||
);
|
);
|
||||||
commandManager.captionRegistry().registerProvider(new PlotSquaredCaptionProvider());
|
commandManager.captionRegistry().registerProvider(new PlotSquaredCaptionProvider());
|
||||||
if (commandManager.hasCapability(CloudBukkitCapabilities.ASYNCHRONOUS_COMPLETION)) {
|
|
||||||
commandManager.registerAsynchronousCompletions();
|
|
||||||
}
|
|
||||||
if (commandManager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER)) {
|
if (commandManager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER)) {
|
||||||
commandManager.registerBrigadier();
|
commandManager.registerBrigadier();
|
||||||
|
} else if (commandManager.hasCapability(CloudBukkitCapabilities.ASYNCHRONOUS_COMPLETION)) {
|
||||||
|
commandManager.registerAsynchronousCompletions();
|
||||||
}
|
}
|
||||||
|
|
||||||
final CommandRequirementPostprocessor requirementPostprocessor = new CommandRequirementPostprocessor();
|
final CommandRequirementPostprocessor requirementPostprocessor = new CommandRequirementPostprocessor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user