mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 17:38:10 +00:00
min class index defaults to -1
This commit is contained in:
@@ -2180,7 +2180,7 @@ public class AVM2SourceGenerator implements SourceGenerator {
|
||||
continue;
|
||||
}
|
||||
if (item instanceof ClassAVM2Item) {
|
||||
int minClassIndex = 0;
|
||||
int minClassIndex = -1;
|
||||
localData.currentClass = ((ClassAVM2Item) item).pkg.name.addWithSuffix(((ClassAVM2Item) item).className).toRawString();
|
||||
InstanceInfo instanceInfo = abcIndex.getSelectedAbc().instance_info.get(((TraitClass) traits[k]).class_info);
|
||||
ABC abc = abcIndex.getSelectedAbc();
|
||||
@@ -2214,7 +2214,7 @@ public class AVM2SourceGenerator implements SourceGenerator {
|
||||
localData.currentClass = null;
|
||||
}
|
||||
if (item instanceof InterfaceAVM2Item) {
|
||||
int minClassIndex = 0;
|
||||
int minClassIndex = -1;
|
||||
localData.currentClass = ((InterfaceAVM2Item) item).pkg.name.addWithSuffix(((InterfaceAVM2Item) item).name).toRawString();
|
||||
ABC abc = abcIndex.getSelectedAbc();
|
||||
InstanceInfo instanceInfo = abc.instance_info.get(((TraitClass) traits[k]).class_info);
|
||||
|
||||
Reference in New Issue
Block a user