Allow rs.version to be a double
This allows sub-versions of the same RS revision
This commit is contained in:
@@ -61,7 +61,6 @@ public class RuneLiteAPI
|
||||
private static final String STATICBASE = "https://static.runelite.net";
|
||||
private static final Properties properties = new Properties();
|
||||
private static String version;
|
||||
private static int rsVersion;
|
||||
|
||||
static
|
||||
{
|
||||
@@ -71,7 +70,6 @@ public class RuneLiteAPI
|
||||
properties.load(in);
|
||||
|
||||
version = properties.getProperty("runelite.version");
|
||||
rsVersion = Integer.parseInt(properties.getProperty("rs.version"));
|
||||
String commit = properties.getProperty("runelite.commit");
|
||||
boolean dirty = Boolean.parseBoolean(properties.getProperty("runelite.dirty"));
|
||||
|
||||
@@ -179,9 +177,4 @@ public class RuneLiteAPI
|
||||
RuneLiteAPI.version = version;
|
||||
}
|
||||
|
||||
public static int getRsVersion()
|
||||
{
|
||||
return rsVersion;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user