diff options
author | md_5 <git@md-5.net> | 2015-01-05 09:25:27 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-01-05 09:25:27 +1100 |
commit | e5c51c790fad12b79e0b186fe34e38a10bd57110 (patch) | |
tree | 0a2aa3ffc8b25bcbddc5dc284193b1c4ded770c4 /src/main/java/org/bukkit | |
parent | 93efa5a803b0b6759885ac1c0fa9c71788a27001 (diff) | |
download | craftbukkit-e5c51c790fad12b79e0b186fe34e38a10bd57110.tar craftbukkit-e5c51c790fad12b79e0b186fe34e38a10bd57110.tar.gz craftbukkit-e5c51c790fad12b79e0b186fe34e38a10bd57110.tar.lz craftbukkit-e5c51c790fad12b79e0b186fe34e38a10bd57110.tar.xz craftbukkit-e5c51c790fad12b79e0b186fe34e38a10bd57110.zip |
Actually return.
Diffstat (limited to 'src/main/java/org/bukkit')
-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 { |