From b023c53e0312bb0e2224cd0405728b3a66f86bd5 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Thu, 11 Jun 2015 12:59:36 +0100 Subject: [PATCH] Allow for the jline console to be overriden in normally unsupported enviroments --- nms-patches/MinecraftServer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/MinecraftServer.patch b/nms-patches/MinecraftServer.patch index 7902a2195..3e666e765 100644 --- a/nms-patches/MinecraftServer.patch +++ b/nms-patches/MinecraftServer.patch @@ -54,7 +54,7 @@ + // CraftBukkit start + this.options = options; + // Try to see if we're actually running in a terminal, disable jline if not -+ if (System.console() == null) { ++ if (System.console() == null && System.getProperty("jline.terminal") == null) { + System.setProperty("jline.terminal", "jline.UnsupportedTerminal"); + Main.useJline = false; + }