Skip to content

Commit

Permalink
remove accidentally deleted filetype check in FieldNameFinder
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Dec 9, 2018
1 parent a58f6b6 commit 955d8e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/fabricmc/stitch/util/FieldNameFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ public Map<String, String> find(File file) {
JarEntry entry;

while ((entry = jis.getNextJarEntry()) != null) {
if (!entry.getName().endsWith(".class")) {
continue;
}

ByteArrayOutputStream stream = new ByteArrayOutputStream();
int l;
while ((l = jis.read(buffer, 0, buffer.length)) > 0) {
Expand Down

0 comments on commit 955d8e0

Please sign in to comment.