mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 14:30:47 +00:00
Issue #306 editing AS directly - detectUnitializedVars fix
This commit is contained in:
@@ -44,8 +44,12 @@ public class IfItem extends GraphTargetItem implements Block {
|
||||
@Override
|
||||
public List<List<GraphTargetItem>> getSubs() {
|
||||
List<List<GraphTargetItem>> ret = new ArrayList<>();
|
||||
ret.add(onTrue);
|
||||
ret.add(onFalse);
|
||||
if (onTrue != null) {
|
||||
ret.add(onTrue);
|
||||
}
|
||||
if (onFalse != null) {
|
||||
ret.add(onFalse);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user