Actually return.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2015-01-05 09:25:27 +11:00
parent 6802819ab3
commit 3aa6b5e2f7

View file

@ -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 {