Merge pull request #2856 from ImNoOSRS/patch-1
HTTP-API: Ignore snapshots for the runelite API.
This commit is contained in:
@@ -218,7 +218,7 @@ public class RuneLiteAPI
|
|||||||
for (int i = 0; i != versionList.getLength(); i++)
|
for (int i = 0; i != versionList.getLength(); i++)
|
||||||
{
|
{
|
||||||
Node node = versionList.item(i);
|
Node node = versionList.item(i);
|
||||||
if (node.getTextContent() != null)
|
if (node.getTextContent() != null && !node.getTextContent().endsWith("SNAPSHOT"))
|
||||||
{
|
{
|
||||||
upstreamVersion = node.getTextContent();
|
upstreamVersion = node.getTextContent();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user