mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 15:40:53 +00:00
AS1/2 better deobfuscation
code formatting
This commit is contained in:
@@ -30,7 +30,7 @@ public class DirectValueTreeItem extends TreeItem {
|
||||
super(instruction, PRECEDENCE_PRIMARY);
|
||||
this.constants = constants;
|
||||
this.value = value;
|
||||
this.instructionPos = instructionPos;
|
||||
this.pos = instructionPos;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -44,6 +44,9 @@ public class DirectValueTreeItem extends TreeItem {
|
||||
if (value instanceof Long) {
|
||||
return (Long) value;
|
||||
}
|
||||
if (value instanceof Boolean) {
|
||||
return ((Boolean) value) ? 1 : 0;
|
||||
}
|
||||
return super.toNumber();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user