Merge branch 'master' into bukkit
This commit is contained in:
commit
9fb72398b5
1 changed files with 6 additions and 2 deletions
|
@ -73,9 +73,11 @@ public class ModSorter
|
|||
else
|
||||
{
|
||||
modGraph.addEdge(before, mod);
|
||||
if (nameLookup.containsKey(dep)) {
|
||||
modGraph.addEdge(nameLookup.get(dep), mod);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (String dep : mod.getPostDepends())
|
||||
{
|
||||
|
@ -91,9 +93,11 @@ public class ModSorter
|
|||
else
|
||||
{
|
||||
modGraph.addEdge(mod, after);
|
||||
if (nameLookup.containsKey(dep)) {
|
||||
modGraph.addEdge(mod, nameLookup.get(dep));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!preDepAdded)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue