Skip to content

Commit

Permalink
Fix JarMerger writing to inputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 authored Jul 23, 2022
1 parent 22a2dfd commit 0abaedb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
sourceCompatibility = 1.8

def ENV = System.getenv()
version = "0.6.1" + (ENV.GITHUB_ACTIONS ? "" : "+local")
version = "0.6.2" + (ENV.GITHUB_ACTIONS ? "" : "+local")

group = 'net.fabricmc'
archivesBaseName = project.name.toLowerCase()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/fabricmc/stitch/merge/JarMerger.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private void add(Entry entry) throws IOException {
Files.copy(entry.path, outPath);
}

Files.getFileAttributeView(entry.path, BasicFileAttributeView.class)
Files.getFileAttributeView(outPath, BasicFileAttributeView.class)
.setTimes(
entry.metadata.creationTime(),
entry.metadata.lastAccessTime(),
Expand Down

0 comments on commit 0abaedb

Please sign in to comment.