fix output
This commit is contained in:
parent
a7d993acc1
commit
1d6a21996b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class ConsoleCommand extends Command {
|
|||
|
||||
context.sendOutput(Component.text("Set the console server to " + bot.console.consoleServer).color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor)));
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
return Component.text("Invalid server: " + String.join(" ", args)).color(NamedTextColor.RED);
|
||||
return Component.text("Invalid server: " + server).color(NamedTextColor.RED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue