Commit d02247d5d8112925962e21d81d87437dc8617cb2
1 parent
ae0c5867
apply transformers to HandlerList template classes
Showing
1 changed file
with
1 additions
and
1 deletions
java/common/com/mumfrey/liteloader/core/event/HandlerList.java
... | ... | @@ -701,7 +701,7 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T |
701 | 701 | try |
702 | 702 | { |
703 | 703 | // Read the basic class template |
704 | - byte[] bytes = Launch.classLoader.getClassBytes(this.getTemplate().name); | |
704 | + byte[] bytes = ByteCodeUtilities.applyTransformers(this.getTemplate().name, Launch.classLoader.getClassBytes(this.getTemplate().name)); | |
705 | 705 | ClassReader classReader = new ClassReader(bytes); |
706 | 706 | ClassNode classNode = new ClassNode(); |
707 | 707 | classReader.accept(classNode, ClassReader.EXPAND_FRAMES); | ... | ... |