mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-14 22:40:25 +00:00
ignoring fixGraph errors
This commit is contained in:
@@ -67,11 +67,16 @@ public class Graph {
|
||||
}
|
||||
|
||||
private void fixGraph(GraphPart part) {
|
||||
while (fixGraphOnce(part, new ArrayList<GraphPart>(), false)) {
|
||||
//if(true) return;
|
||||
try{
|
||||
while (fixGraphOnce(part, new ArrayList<GraphPart>(), false)) {
|
||||
}
|
||||
}catch(Exception | Error ex){
|
||||
//ignore
|
||||
}
|
||||
}
|
||||
|
||||
private boolean fixGraphOnce(GraphPart part, List<GraphPart> visited, boolean doChildren) {
|
||||
private boolean fixGraphOnce(GraphPart part, List<GraphPart> visited, boolean doChildren) {
|
||||
if (visited.contains(part)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user