mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 01:40:43 +00:00
Issue #172 checkPrecoNextParts fix
This commit is contained in:
@@ -2311,7 +2311,10 @@ public class Graph {
|
||||
}
|
||||
} while (part != null);
|
||||
if (parts.size() > 1) {
|
||||
return new GraphPartMulti(parts);
|
||||
GraphPartMulti ret = new GraphPartMulti(parts);
|
||||
ret.refs.addAll(parts.get(0).refs);
|
||||
ret.nextParts.addAll(parts.get(parts.size() - 1).nextParts);
|
||||
return ret;
|
||||
} else {
|
||||
return parts.get(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user