mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-12 00:07:33 +00:00
Fixed class heirachy evaluation getting confused with obfuscation.
This commit is contained in:
1 parent
a003f2638d
commit
36e6c64b66
2 files changed
+44
-21
No files matched your search
@@ -5,9 +5,17 @@ import org.objectweb.asm.ClassWriter;
|
||||
|
||||
public class CC_ClassWriter extends ClassWriter
|
||||
{
|
||||
private final boolean runtime;
|
||||
|
||||
public CC_ClassWriter(int flags)
|
||||
{
|
||||
this(flags, false);
|
||||
}
|
||||
|
||||
public CC_ClassWriter(int flags, boolean runtime)
|
||||
{
|
||||
super(flags);
|
||||
this.runtime = runtime;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -21,7 +29,7 @@ public class CC_ClassWriter extends ClassWriter
|
||||
return type2;
|
||||
do
|
||||
{
|
||||
c = ClassHeirachyManager.getSuperClass(c);
|
||||
c = ClassHeirachyManager.getSuperClass(c, runtime);
|
||||
}
|
||||
while(!ClassHeirachyManager.classExtends(d, c));
|
||||
return c.replace('.', '/');
|
||||
|
||||
Reference in new issue
Block a user