Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Jan 29, 2025
1 parent ade71e5 commit 7a9406c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ protected void postMixinMain(String[] args) {
log.info("Tip: To generate a new access token, use the command: 'generate-token'");

var commandManager = soulFire.injector().getSingleton(ServerCommandManager.class);
var commandSource = new ServerConsoleCommandSource(soulFire.authSystem());
new GenericTerminalConsole(
soulFire.shutdownManager(),
command -> commandManager.execute(command, ServerConsoleCommandSource.INSTANCE),
(command, cursor) -> commandManager.complete(command, cursor, ServerConsoleCommandSource.INSTANCE),
command -> commandManager.execute(command, commandSource),
(command, cursor) -> commandManager.complete(command, cursor, commandSource),
SFPathConstants.WORKING_DIRECTORY
).start();

Expand Down

0 comments on commit 7a9406c

Please sign in to comment.