Skip to content

Commit

Permalink
Revert "Use EXPAND_FRAMES class reader flags in class transformer (#124
Browse files Browse the repository at this point in the history
…)"

This reverts commit f1f25dc.
  • Loading branch information
marchermans committed Apr 25, 2024
1 parent f1f25dc commit d4e94e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cpw/mods/modlauncher/ClassTransformer.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ byte[] transform(byte[] inputClass, String className, final String reason) {
boolean empty;
if (inputClass.length > 0) {
final ClassReader classReader = new ClassReader(inputClass);
classReader.accept(clazz, ClassReader.EXPAND_FRAMES);
classReader.accept(clazz, 0);
digest = ()->getSha256().digest(inputClass);
empty = false;
} else {
Expand Down

0 comments on commit d4e94e0

Please sign in to comment.