You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Base.this.plugin.log("&cNew update available for &3SuperCoreAPI &7("+lastVersion+")");
43
31
Base.this.plugin.log("&cIf you're the developer of the plugin update the API, if you're a customer of a plugin using &3SuperCoreAPI&c please notify to the Developer.");
44
-
}elseif(l < c){
32
+
}elseif(check == 2){
45
33
Base.this.plugin.log("&cIt seems like you're running a non-release version of &3SuperCoreAPI");
46
34
Base.this.plugin.log("&cUnless you're the developer, you must use the version &7" + lastVersion);
* Check any type of version into numbers to check the version.
7
+
*
8
+
* @param currentVersion the current version (usually stored in the plugin.yml or bungee.yml)
9
+
* @param latestVersion the latest version stored in the database, or the platform with the latest update
10
+
* @return 1 if there latest version is higher than the current one; 2 if the current version is higher than the latest version; 0 if booth versions are the same
0 commit comments