Merge branch 'master' of https://bitbucket.org/AlgorithmX2/appliedenergistics2 into rv1
This commit is contained in:
commit
f5976e7b1d
2 changed files with 4 additions and 1 deletions
|
@ -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." ) )
|
||||
|
|
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in a new issue