Merge pull request #2856 from ImNoOSRS/patch-1

HTTP-API: Ignore snapshots for the runelite API.
This commit is contained in:
Tyler Bochard
2020-11-11 12:57:47 -05:00
committed by GitHub

View File

@@ -218,7 +218,7 @@ public class RuneLiteAPI
for (int i = 0; i != versionList.getLength(); i++)
{
Node node = versionList.item(i);
if (node.getTextContent() != null)
if (node.getTextContent() != null && !node.getTextContent().endsWith("SNAPSHOT"))
{
upstreamVersion = node.getTextContent();
}