Skip to content

Commit

Permalink
Ignore Tiny2 entries with empty dst class names (FabricMC#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak authored Mar 11, 2022
1 parent 91c57b1 commit a23ab94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/fabricmc/tinyremapper/TinyUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private static void readV2(BufferedReader reader, String from, String to,
out.acceptClass(className, mappedName);
}

if (obfFrom != null) obfFrom.put(unescapeOpt(parts[1], escapedNames), className);
if (obfFrom != null && !className.isEmpty()) obfFrom.put(unescapeOpt(parts[1], escapedNames), className);

inClass = true;
}
Expand Down

0 comments on commit a23ab94

Please sign in to comment.