diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/Main.java | 3 |
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 5f1eedb8..4e642b77 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -137,7 +137,8 @@ public class Main { // Do you love Java using + and ! as string based identifiers? I sure do! String path = new File(".").getAbsolutePath(); if (path.contains("!") || path.contains("+")) { - System.err.println("Cannot run server in a directory with ! or + in the pathname. Please rename the affected folders and try again,"); + System.err.println("Cannot run server in a directory with ! or + in the pathname. Please rename the affected folders and try again."); + return; } try { |