mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Merge branch 'master' of https://github.com/mDiyo/TinkersConstruct
This commit is contained in:
commit
26fb95de90
1 file changed
+3
-3
@@ -25,7 +25,7 @@ public class ASMInterfaceRepair implements IClassTransformer {
|
||||
@Override
|
||||
public byte[] transform(String name, String transformedName, byte[] bytes)
|
||||
{
|
||||
if ( name.startsWith( "tconstruct." ) && ! name.startsWith( "tconstruct.preloader." ) && !isBlacklisted(name) )
|
||||
if ( name.startsWith( "tconstruct." ) && ! name.startsWith( "tconstruct.preloader." ))// && !isBlacklisted(name) )
|
||||
{
|
||||
ClassReader cr = new ClassReader(bytes);
|
||||
ClassNode cn = new ClassNode();
|
||||
@@ -59,10 +59,10 @@ public class ASMInterfaceRepair implements IClassTransformer {
|
||||
}
|
||||
|
||||
// Used in transform() above.
|
||||
private boolean isBlacklisted( String path )
|
||||
/*private boolean isBlacklisted( String path )
|
||||
{
|
||||
return path.startsWith( "tconstruct.plugins.minefactoryreloaded." );
|
||||
}
|
||||
}*/
|
||||
|
||||
private boolean isClassAvailable( String inf )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user