From e5c51c790fad12b79e0b186fe34e38a10bd57110 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 5 Jan 2015 09:25:27 +1100 Subject: [PATCH] Actually return. --- src/main/java/org/bukkit/craftbukkit/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index 5f1eedb8a5..4e642b7785 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 {