Merge remote-tracking branch 'runelite/master'

This commit is contained in:
Owain van Brakel
2020-06-04 11:30:45 +02:00
3 changed files with 9 additions and 2 deletions

View File

@@ -38,5 +38,6 @@ public class GrandExchangeTrade
private int total;
private int spent;
private int offer;
private int slot;
private WorldType worldType;
}

View File

@@ -449,10 +449,13 @@ public class ExternalPluginManager
net.runelite.client.plugins.PluginDependency[] pluginDependencies = pluginClazz.getAnnotationsByType(net.runelite.client.plugins.PluginDependency.class);
for (net.runelite.client.plugins.PluginDependency pluginDependency : pluginDependencies)
{
if (graph.nodes().contains(pluginDependency.value()))
{
graph.putEdge(pluginClazz, pluginDependency.value());
}
}
}
if (Graphs.hasCycle(graph))
{

View File

@@ -385,10 +385,13 @@ public class PluginManager
PluginDependency[] pluginDependencies = pluginClazz.getAnnotationsByType(PluginDependency.class);
for (PluginDependency pluginDependency : pluginDependencies)
{
if (graph.nodes().contains(pluginDependency.value()))
{
graph.putEdge(pluginClazz, pluginDependency.value());
}
}
}
if (Graphs.hasCycle(graph))
{