mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 16:50:39 +00:00
Enable forward compitable
This commit is contained in:
@@ -64,7 +64,7 @@ public class Core {
|
|||||||
BufferedReader br = WebUtil.getReader(Configuration.GET_BOT_VERSION);
|
BufferedReader br = WebUtil.getReader(Configuration.GET_BOT_VERSION);
|
||||||
try {
|
try {
|
||||||
double version = Double.parseDouble(br.readLine());
|
double version = Double.parseDouble(br.readLine());
|
||||||
if (Configuration.BOT_VERSION == version) {
|
if (Configuration.BOT_VERSION >= version) {
|
||||||
Core.verbose("No updates available.");
|
Core.verbose("No updates available.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user