diff options
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java index 0469d62..f0c530e 100644 --- a/src/main/java/org/spigotmc/builder/Builder.java +++ b/src/main/java/org/spigotmc/builder/Builder.java @@ -355,6 +355,11 @@ public class Builder File patchDir = new File( craftBukkit, "nms-patches" ); for ( File file : patchDir.listFiles() ) { + if ( !file.getName().endsWith( ".patch" ) ) + { + continue; + } + String targetFile = "net/minecraft/server/" + file.getName().replaceAll( ".patch", ".java" ); File clean = new File( decompileDir, targetFile ); |