Remove dumb version check

This commit is contained in:
libraryaddict 2019-12-19 20:54:38 +13:00
parent 381444d6e3
commit 3653149e5b

View File

@ -196,11 +196,7 @@ public class LibsPremium {
if (plugin.isPremium()) { if (plugin.isPremium()) {
if (!isValidVersion(version, plugin.getVersion()) || plugin.getUserID() == null || if (!isValidVersion(version, plugin.getVersion()) || plugin.getUserID() == null ||
plugin.getDownloadID() == null || plugin.getUserID().equals("666666") || plugin.getDownloadID() == null || plugin.getUserID().equals("666666")) {
plugin.getParsedBuildDate().after(getPluginInformation().getParsedBuildDate()) ||
plugin.getParsedBuildDate().before(new Date(
getPluginInformation().getParsedBuildDate().getTime() -
TimeUnit.DAYS.toMillis(365 * 2)))) {
DisguiseUtilities.getLogger().warning( DisguiseUtilities.getLogger().warning(
"You have an old Lib's Disguises jar (" + file.getName() + " " + fileInfo + "You have an old Lib's Disguises jar (" + file.getName() + " " + fileInfo +
") in the LibsDisguises folder! For security purposes, please replace this with a" + ") in the LibsDisguises folder! For security purposes, please replace this with a" +