summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index bc1453b..9d96d8b 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -396,7 +396,7 @@ public class Builder
continue;
}
- String targetFile = "net/minecraft/server/" + file.getName().replaceAll( ".patch", ".java" );
+ String targetFile = "net/minecraft/server/" + file.getName().replace( ".patch", ".java" );
File clean = new File( decompileDir, targetFile );
File t = new File( nmsDir.getParentFile(), targetFile );