mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Update for cloud deprecations
This commit is contained in:
17 files changed
+22
-22
No files matched your search
@@ -69,7 +69,7 @@ public final class CarbonChatSpongeModule extends AbstractModule {
|
||||
public CommandManager<Commander> commandManager() {
|
||||
final SpongeCommandManager<Commander> commandManager = new SpongeCommandManager<>(
|
||||
this.pluginContainer,
|
||||
AsynchronousCommandExecutionCoordinator.<Commander>newBuilder().build(),
|
||||
AsynchronousCommandExecutionCoordinator.<Commander>builder().build(),
|
||||
commander -> ((SpongeCommander) commander).commandCause(),
|
||||
commandCause -> {
|
||||
if (commandCause.subject() instanceof ServerPlayer player) {
|
||||
|
||||
Reference in new issue
Block a user