Update for cloud deprecations

This commit is contained in:
Jason Penilla committed 2022-12-15 14:02:50 -07:00
1 parent 4a53bc85b5
commit 8ab0f9d782
17 files changed
+22 -22

No files matched your search

@@ -74,7 +74,7 @@ public final class CarbonChatPaperModule extends AbstractModule {
try {
commandManager = new PaperCommandManager<>(
this.carbonChat,
AsynchronousCommandExecutionCoordinator.<Commander>newBuilder().build(),
AsynchronousCommandExecutionCoordinator.<Commander>builder().build(),
commandSender -> {
if (commandSender instanceof Player player) {
return new PaperPlayerCommander(this.carbonChat, player);