This commit is contained in:
AlgorithmX2 2014-05-23 23:23:15 -05:00
commit f5976e7b1d
2 changed files with 4 additions and 1 deletions

View file

@ -60,7 +60,7 @@ public class ASMIntegration implements IClassTransformer
@Override
public byte[] transform(String name, String transformedName, byte[] basicClass)
{
if ( transformedName.startsWith( "appeng.transformer" ) )
if ( basicClass == null || transformedName.startsWith( "appeng.transformer" ) )
return basicClass;
if ( transformedName.startsWith( "appeng." ) )

View file

@ -33,6 +33,9 @@ public class ASMTweaker implements IClassTransformer
@Override
public byte[] transform(String name, String transformedName, byte[] basicClass)
{
if ( basicClass == null )
return basicClass;
try
{
if ( transformedName != null && privateToPublicMethods.containsKey( transformedName ) )