summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-05-19 14:15:13 -0400
committerEvilSeph <evilseph@unaligned.org>2011-05-19 14:15:13 -0400
commit480c1b987704687f0dfe9ae6d4a136b8d2071725 (patch)
treea197c0d2c750d3e479e673354691a97104f7fea3 /src/main/java
parent962f05821b6891227748b6361d80b34cdd994d66 (diff)
downloadcraftbukkit-480c1b987704687f0dfe9ae6d4a136b8d2071725.tar
craftbukkit-480c1b987704687f0dfe9ae6d4a136b8d2071725.tar.gz
craftbukkit-480c1b987704687f0dfe9ae6d4a136b8d2071725.tar.lz
craftbukkit-480c1b987704687f0dfe9ae6d4a136b8d2071725.tar.xz
craftbukkit-480c1b987704687f0dfe9ae6d4a136b8d2071725.zip
Fixed -nojline.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index 0dacd2ee..9f8708df 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -12,7 +12,7 @@ import joptsimple.OptionSet;
import net.minecraft.server.MinecraftServer;
public class Main {
- public static String jlineTerminalSetting = System.getProperty("jline.terminal");
+ public static String jlineTerminalSetting;
public static void main(String[] args) {
// Todo: Installation script
@@ -92,6 +92,7 @@ public class Main {
System.setProperty("jline.terminal", "jline.UnsupportedTerminal");
System.setProperty("user.language", "en");
}
+ jlineTerminalSetting = System.getProperty("jline.terminal");
MinecraftServer.main(options);
} catch (Throwable t) {
t.printStackTrace();