Exclude jna from termal tansformer.

This commit is contained in:
LexManos 2016-03-21 18:20:30 -07:00
parent 08a3b654b9
commit c7b8020279

View file

@ -49,7 +49,8 @@ public class TerminalTransformer implements IClassTransformer
clsName.equals("net/minecraftforge/fml/common/FMLCommonHandler") ||
clsName.startsWith("com/jcraft/jogg/") ||
clsName.startsWith("scala/sys/") ||
clsName.startsWith("net/minecraft/server/gui/MinecraftServerGui")
clsName.startsWith("net/minecraft/server/gui/MinecraftServerGui") ||
clsName.startsWith("com/sun/jna/")
);
return new MethodVisitor(Opcodes.ASM5, super.visitMethod(mAccess, mName, mDesc, mSignature, mExceptions))