diff --git a/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt b/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt index a4609b4..9c575cf 100644 --- a/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt +++ b/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt @@ -198,7 +198,12 @@ class ServerStarter(args: Array) { fun main(args: Array) { // System.setProperty("jansi.passthrough", "true") - AnsiConsole.systemInstall() + try { + AnsiConsole.systemInstall() + } catch (e: Exception) { + println("jansi couldn't be installed in this terminal (e.g. due to aarch64 not being supported)\n" + + "Future terminal messages will have no color.") + } try { val starter = ServerStarter(args)