diff options
author | md_5 <git@md-5.net> | 2018-07-14 10:35:43 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-14 10:35:43 +1000 |
commit | 5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5 (patch) | |
tree | c85078fb12b63546de73b6f8151ed77e14d4ca44 /src | |
parent | 9f6b20b9d980df7551753ecd04349b10c77beb88 (diff) | |
download | buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.gz buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.lz buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.xz buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.zip |
Fix spurious usage of .replaceAll
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 2 |
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 ); |