Null classes are bad umm kay.
This commit is contained in:
parent
15aa825d30
commit
ea936d3b72
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