mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 04:00:53 +00:00
Issue #153 Better deobfuscation
This commit is contained in:
@@ -63,19 +63,11 @@ public class CallFunctionTreeItem extends TreeItem {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean toBoolean() {
|
||||
public Object getResult() {
|
||||
if (calculatedFunction == null) {
|
||||
return false;
|
||||
return null;
|
||||
}
|
||||
return calculatedFunction.toBoolean();
|
||||
}
|
||||
|
||||
@Override
|
||||
public double toNumber() {
|
||||
if (calculatedFunction == null) {
|
||||
return 0;
|
||||
}
|
||||
return calculatedFunction.toNumber();
|
||||
return calculatedFunction.getResult();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user