mirror of
https://github.com/NEZNAMY/TAB.git
synced 2026-11-26 10:29:49 -05:00
premium version is no longer on spigot
This commit is contained in:
1 parent
fedc1a3daa
commit
806e5ba59a
1 file changed
+1
-2
@@ -28,8 +28,7 @@ public class UpdateChecker {
|
||||
con.disconnect();
|
||||
if (!versionString.equals(currentRelease)) {
|
||||
Shared.platform.sendConsoleMessage("&a[TAB] Version " + versionString + " is out! Your version: " + Shared.pluginVersion, true);
|
||||
int resourceId = Shared.isPremium() ? 83967 : 57806;
|
||||
Shared.platform.sendConsoleMessage("&a[TAB] Get the update at https://www.spigotmc.org/resources/" + resourceId + "/", true);
|
||||
Shared.platform.sendConsoleMessage("&a[TAB] Get the update at https://www.spigotmc.org/resources/57806/", true);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Shared.debug("&cFailed to check for updates (" + e.getClass().getSimpleName() + ": " + e.getMessage() + ")");
|
||||
|
||||
Reference in new issue
Block a user