Skip to content

Commit

Permalink
Switch to LegacyPaperCommandManager
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeinerLP committed Jun 12, 2024
1 parent 3b1186e commit 3260886
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.incendo.cloud.execution.ExecutionCoordinator;
import org.incendo.cloud.minecraft.extras.MinecraftHelp;
import org.incendo.cloud.minecraft.extras.RichDescription;
import org.incendo.cloud.paper.LegacyPaperCommandManager;
import org.incendo.cloud.paper.PaperCommandManager;

import java.io.IOException;
Expand Down Expand Up @@ -117,7 +118,7 @@ private void registerCommands() {
}

private void enableCommandFramework() {
PaperCommandManager<CommandSender> commandManager = PaperCommandManager.createNative(
LegacyPaperCommandManager<CommandSender> commandManager = LegacyPaperCommandManager.createNative(
this,
ExecutionCoordinator.asyncCoordinator()
);
Expand Down

0 comments on commit 3260886

Please sign in to comment.