From 76b15f3109d771916f41d6e9433d0fe794a9ed32 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 9 Sep 2017 18:32:19 +1000 Subject: BUILDTOOLS-140: # is not a supported path character --- src/main/java/org/spigotmc/builder/Builder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java index 774ddad..a6721bf 100644 --- a/src/main/java/org/spigotmc/builder/Builder.java +++ b/src/main/java/org/spigotmc/builder/Builder.java @@ -78,7 +78,7 @@ public class Builder public static void main(String[] args) throws Exception { - if ( CWD.getAbsolutePath().contains( "'" ) ) + if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( "#" ) ) { System.err.println( "Please do not run in a path with special characters!" ); return; -- cgit v1.2.3