mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Actually return.
This commit is contained in:
parent
93efa5a803
commit
e5c51c790f
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue